<!doctype html>
<html lang="ru" data-bs-theme="dark">

<head>
    <!-- 2024-05-11 14:15:22 -->
        <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, shrink-to-fit=no">
    <title>git p4</title>
        <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.3/css/bootstrap.min.css" integrity="sha512-jnSuA4Ss2PkkikSOLtYs8BlYIeeIK1h99ty4YfvRPAlzr377vr3CXDb7sb7eEEBYjDtcYj+AjBH3FLv5uSJuXg==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/bootstrap-icons/1.11.3/font/bootstrap-icons.min.css" integrity="sha512-dPXYcDub/aeb08c63jRq/k6GaKccl256JQy/AnOq7CAnEZ9FzSL9wSbcZkMp4R26vBsMLFYH4kQ67/bbV8XaCQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.9.0/styles/github-dark.min.css" integrity="sha512-rO+olRTkcf304DQBxSWxln8JXCzTHlKnIdnMUwYvQa9/Jd4cQaNkItIUj6Z4nvW1dqK0SKXLbn9h4KwZTNtAyw==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/flag-icon-css/7.1.0/css/flag-icons.min.css" integrity="sha512-bZBu2H0+FGFz/stDN/L0k8J0G8qVsAL0ht1qg5kTwtAheiXwiRKyCq1frwfbSFSJN3jooR5kauE0YjtPzhZtJQ==" crossorigin="anonymous" referrerpolicy="no-referrer" />
    <link href="../../../runebook.css" rel="stylesheet" type="text/css">
    <meta name="x-github" content="https://github.com/runebookdev/runebook">
            <meta name="x-i18n-doc" content="git">
        <script>
        function i18n(element) {
            // NOP
        }
    </script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/js-cookie/3.0.5/js.cookie.js" integrity="sha512-F/dia2jKME12jwqiYDayeD+Rr/8jTWUD2wfbuJB0bzSwenSEnXsn4qQ/wVyXUCix5bmCAj8xJdtFr2OqUtjLAw==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/jquery/3.7.1/jquery.min.js" integrity="sha512-v2CJ7UaYy4JwqLDIrZUI/4hqeoQieOmAZNXBeQyjo21dadnwR+8ZaIJVT8EE2iyI61OV8e6M8PP2/4hpQINQ/g==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/bootstrap/5.3.3/js/bootstrap.bundle.min.js" integrity="sha512-7Pi/otdlbbCR+LnW+F7PwFcSDJOuUJB3OxtEHbg4vSMvzvJjde4Po1v4BR9Gdc9aXNUNFVUY+SK51wWT8WF0Gg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/rxjs/7.8.1/rxjs.umd.min.js" integrity="sha512-D9LDs8YUUVa4V9Gl4Zb+xqRAc7RCzooR3+zzebgK2RMu/KU+dh90pbjEEMzPiSyRSGbSp9j1pZnrO4joGa5WEg==" crossorigin="anonymous" referrerpolicy="no-referrer"></script>
    <script src="https://cdnjs.cloudflare.com/ajax/libs/mark.js/8.11.1/jquery.mark.min.js" integrity="sha512-mhbv5DqBMgrWL+32MmsDOt/OAvqr/cHimk6B8y/bx/xS88MVkYGPiVv2ixKVrkywF2qHplNRUvFsAHUdxZ3Krg==" crossorigin="anonymous"></script>
    <script async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js?client=ca-pub-6424571640879890" crossorigin="anonymous"></script>    <script async src="https://www.googletagmanager.com/gtag/js?id=G-3G5BZ1QEDP"></script>
<script>
    window.dataLayer = window.dataLayer || [];

    function gtag() {
        dataLayer.push(arguments);
    }

    gtag('js', new Date());
    gtag('config', 'G-3G5BZ1QEDP');
</script>    <script>
(function(c, l, a, r, i, t, y) {
    c[a] = c[a] || function() {
        (c[a].q = c[a].q || []).push(arguments)
    };
    t = l.createElement(r);
    t.async = 1;
    t.src = "https://www.clarity.ms/tag/" + i + "?ref=bwt";
    y = l.getElementsByTagName(r)[0];
    y.parentNode.insertBefore(t, y);
})(window, document, "clarity", "script", "jto2hd94r9");
</script>    <script src="../../../theme.js"></script>
</head>

<body>
    <header class="bg-black">
        <div class="container">
            <div class="row">
                <div class="col">
                    <nav class="navbar navbar-expand-lg navbar-dark">
                        <a class="navbar-brand fw-bold" href="https://runebook.dev/ru">
                            <img alt="Runebook.dev" class="d-inline-block align-top mr-1" src="../../../assets/runebook_logo.webp" width="24" height="24">
                            Runebook.dev
                        </a>
                        <button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarSupportedContent" aria-controls="navbarSupportedContent" aria-expanded="false" aria-label="Toggle navigation">
                            <span class="navbar-toggler-icon"></span>
                        </button>
                        <div class="collapse navbar-collapse" id="navbarSupportedContent">
                            <ul class="navbar-nav me-auto mb-2 mb-lg-0">
                                <li class="nav-item">
                                    <a class="nav-link" href="https://runebook.dev/ru#docs">Documentation</a>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link" href="https://runebook.dev/contributors">Contributors</a>
                                </li>
                                <li class="nav-item">
                                    <a class="nav-link" href="https://github.com/runebookdev/runebook/issues">GitHub</a>
                                </li>
                            </ul>
                                                                                                <button class="btn btn-success ms-2" id="showPopupButton">
                                        <i class="bi bi-translate"></i>
                                        Show English
                                    </button>
                                                                                        <div class="form-check form-switch ms-3">
                                <label class="text-light">
                                    <input class="form-check-input" type="checkbox" role="switch" id="theme-switch" checked>
                                    <i class="bi bi-moon-stars-fill"></i>
                                </label>
                            </div>
                        </div>
                    </nav>
                </div>
            </div>
        </div>
    </header>

    <!--sse-->
    <div class="container">
    <div class="row">
        <div class="col">
            <nav aria-label="breadcrumb" class="mt-2">
                <ol class="breadcrumb mb-1">
                    <li class="breadcrumb-item">
                        <a href="https://runebook.dev/ru#docs">
                            <span class="fi fi-ru"></span>                            Русский                        </a>
                    </li>
                    <li class="breadcrumb-item">
                        <a href="-index-.html">
                            Git                            2.43                        </a>
                    </li>
                                            <li class="breadcrumb-item">
                            <a href="-index-.html#Git">
                                Git                            </a>
                        </li>
                                    </ol>
            </nav>
        </div>
    </div>
    <br>

    <div class="row">
        <div class="col-md-9">
            <main>
                <article>

                    
                    <h1 class="text-body-emphasis" ><span data-i18n="cc9374fb837faaf259765825b59e34ee492282bb57c2b1e4e9dd44d40623048f/2a" data-source="git-p4" onmousemove="i18n(this)">git-p4</span></h1> <h2 class="text-body-emphasis"  id="_name"><span data-i18n="dcd1d5223f73b3a965c07e3ff5dbee3eedcfedb806686a05b9b3868a2c3d6d50/3a" data-source="Name" onmousemove="i18n(this)">Name</span></h2> <div> <p><span data-i18n="bb70eaa474a4b65585e27a0519e159c04d2b12177c68cd9d2c169e26f7eaa986/cf" data-source="git-p4 - Import from and submit to Perforce repositories" onmousemove="i18n(this)">git-p4 &mdash; &icy;&mcy;&pcy;&ocy;&rcy;&tcy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy; &icy;&zcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&iecy;&vcy; Perforce &icy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&lcy;&yacy;&tcy;&softcy; &icy;&khcy; &vcy; &ncy;&icy;&khcy;.</span></p> </div> <h2 class="text-body-emphasis"  id="_synopsis"><span data-i18n="8eb3755381519d7f0479d75446e56e20084834c0460d7ec94926932372ea6c47/0d" data-source="Synopsis" onmousemove="i18n(this)">Synopsis</span></h2> <div> <div> <pre class="hljs language-xml">git p4 clone [<span class="hljs-tag">&lt;<span class="hljs-name">sync-options</span>&gt;</span>] [<span class="hljs-tag">&lt;<span class="hljs-name">clone-options</span>&gt;</span>] <span class="hljs-tag">&lt;<span class="hljs-name">p4-depot-path</span>&gt;</span>&hellip;&ZeroWidthSpace;
git p4 sync [<span class="hljs-tag">&lt;<span class="hljs-name">sync-options</span>&gt;</span>] [<span class="hljs-tag">&lt;<span class="hljs-name">p4-depot-path</span>&gt;</span>&hellip;&ZeroWidthSpace;]
git p4 rebase
git p4 submit [<span class="hljs-tag">&lt;<span class="hljs-name">submit-options</span>&gt;</span>] [<span class="hljs-tag">&lt;<span class="hljs-name">master-branch-name</span>&gt;</span>]</pre> </div> </div> <h2 class="text-body-emphasis"  id="_description"><span data-i18n="526e0087cc3f254d9f86f6c7d8e23d954c4dfda2b312efc29194ae8a860106ba/d3" data-source="Description" onmousemove="i18n(this)">Description</span></h2> <div> <p><span data-i18n="6ecead22cb21b7c0d26317add4e6c8990f0b4bafc0692f5991406a33e4d8c459/db" data-source="This command provides a way to interact with p4 repositories using Git." onmousemove="i18n(this)">&Ecy;&tcy;&acy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&acy; &pcy;&rcy;&iecy;&dcy;&ocy;&scy;&tcy;&acy;&vcy;&lcy;&yacy;&iecy;&tcy; &scy;&pcy;&ocy;&scy;&ocy;&bcy; &vcy;&zcy;&acy;&icy;&mcy;&ocy;&dcy;&iecy;&jcy;&scy;&tcy;&vcy;&icy;&yacy; &scy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yacy;&mcy;&icy; p4 &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy; Git.</span></p> <p><span data-i18n="01347911b6d3168ed8fc9ee4f19ec12ad21a9828d4f0fd6475f6a2d8d2a20c9e/68" data-source="Create a new Git repository from an existing p4 repository using &lt;code&gt;git p4 clone&lt;/code&gt;, giving it one or more p4 depot paths. Incorporate new commits from p4 changes with &lt;code&gt;git p4 sync&lt;/code&gt;. The &lt;code&gt;sync&lt;/code&gt; command is also used to include new branches from other p4 depot paths. Submit Git changes back to p4 using &lt;code&gt;git p4 submit&lt;/code&gt;. The command &lt;code&gt;git p4 rebase&lt;/code&gt; does a sync plus rebases the current branch onto the updated p4 remote branch." onmousemove="i18n(this)">&Scy;&ocy;&zcy;&dcy;&acy;&jcy;&tcy;&iecy; &ncy;&ocy;&vcy;&ycy;&jcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy;  Git  &icy;&zcy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&iecy;&gcy;&ocy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yacy; p4 &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy;  <code>git p4 clone</code> , &zcy;&acy;&dcy;&acy;&vcy; &iecy;&mcy;&ucy; &ocy;&dcy;&icy;&ncy; &icy;&lcy;&icy; &ncy;&iecy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ocy; &pcy;&ucy;&tcy;&iecy;&jcy; &kcy; &dcy;&iecy;&pcy;&ocy; p4. &Vcy;&kcy;&lcy;&yucy;&chcy;&icy;&tcy;&iecy; &ncy;&ocy;&vcy;&ycy;&iecy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy; &icy;&zcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&jcy; p4 &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy;  <code>git p4 sync</code> . &Kcy;&ocy;&mcy;&acy;&ncy;&dcy;&acy;  <code>sync</code>  &tcy;&acy;&kcy;&zhcy;&iecy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy; &dcy;&lcy;&yacy; &vcy;&kcy;&lcy;&yucy;&chcy;&iecy;&ncy;&icy;&yacy; &ncy;&ocy;&vcy;&ycy;&khcy; &vcy;&iecy;&tcy;&vcy;&iecy;&jcy; &icy;&zcy; &dcy;&rcy;&ucy;&gcy;&icy;&khcy; &pcy;&ucy;&tcy;&iecy;&jcy; &khcy;&rcy;&acy;&ncy;&icy;&lcy;&icy;&shchcy;&acy; p4. &Ocy;&tcy;&pcy;&rcy;&acy;&vcy;&softcy;&tcy;&iecy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy;  Git  &ocy;&bcy;&rcy;&acy;&tcy;&ncy;&ocy; &ncy;&acy; p4, &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&yacy;  <code>git p4 submit</code> . &Kcy;&ocy;&mcy;&acy;&ncy;&dcy;&acy;  <code>git p4 rebase</code>  &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&yacy;&iecy;&tcy; &scy;&icy;&ncy;&khcy;&rcy;&ocy;&ncy;&icy;&zcy;&acy;&tscy;&icy;&yucy; &icy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ucy;&iecy;&tcy; &tcy;&iecy;&kcy;&ucy;&shchcy;&ucy;&yucy; &vcy;&iecy;&tcy;&kcy;&ucy; &ncy;&acy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&ncy;&ucy;&yucy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ucy;&yucy; &vcy;&iecy;&tcy;&kcy;&ucy; p4.</span></p> </div> <h2 class="text-body-emphasis"  id="_examples"><span data-i18n="e68ee04dff59551b7d1ae07a2f8a00dc61d841628948da3d2781630706a05e92/38" data-source="Examples" onmousemove="i18n(this)">Examples</span></h2> <div> <div> <ul> <li> <p><span data-i18n="0ecfcc0039bac104435b549168a2351e58b3626c3301c3443e3db0acc02c24f3/0a" data-source="Clone a repository:" onmousemove="i18n(this)">&Kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy;:</span></p> <div> <div> <pre class="hljs language-shell"><span class="hljs-meta prompt_">$ </span><span class="language-bash">git p4 <span class="hljs-built_in">clone</span> //depot/path/project</span></pre> </div> </div> </li> <li> <p><span data-i18n="e5e6c49012696c68d770a78dacd248652db68b8ea976fe75dcf58fdf823926bd/a8" data-source="Do some work in the newly created Git repository:" onmousemove="i18n(this)">&Pcy;&ocy;&rcy;&acy;&bcy;&ocy;&tcy;&acy;&jcy;&tcy;&iecy; &ncy;&acy;&dcy; &vcy;&ncy;&ocy;&vcy;&softcy; &scy;&ocy;&zcy;&dcy;&acy;&ncy;&ncy;&ycy;&mcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&iecy;&mcy;  Git :</span></p> <div> <div> <pre class="hljs language-shell"><span class="hljs-meta prompt_">$ </span><span class="language-bash"><span class="hljs-built_in">cd</span> project</span>
<span class="hljs-meta prompt_">$ </span><span class="language-bash">vi foo.h</span>
<span class="hljs-meta prompt_">$ </span><span class="language-bash">git commit -a -m <span class="hljs-string">&quot;edited foo.h&quot;</span></span></pre> </div> </div> </li> <li> <p><span data-i18n="dc65be17b7f5533165cb26d2fc48de4619daf694f13db046d18f0d1b3cfcfb4d/e6" data-source="Update the Git repository with recent changes from p4, rebasing your work on top:" onmousemove="i18n(this)">&Ocy;&bcy;&ncy;&ocy;&vcy;&icy;&tcy;&iecy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy;  Git  &pcy;&ocy;&scy;&lcy;&iecy;&dcy;&ncy;&icy;&mcy;&icy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy;&mcy;&icy; &icy;&zcy; p4, &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&vcy; &scy;&vcy;&ocy;&yucy; &rcy;&acy;&bcy;&ocy;&tcy;&ucy; &scy;&vcy;&iecy;&rcy;&khcy;&ucy;:</span></p> <div> <div> <pre class="hljs language-ruby"><span class="hljs-variable">$ </span>git p4 rebase</pre> </div> </div> </li> <li> <p><span data-i18n="f6cdc967ffa79b3aaff92b6066d9d05445381caacfd4f3ada9f56fc42ab357d5/ac" data-source="Submit your commits back to p4:" onmousemove="i18n(this)">&Ocy;&tcy;&pcy;&rcy;&acy;&vcy;&softcy;&tcy;&iecy; &scy;&vcy;&ocy;&icy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy; &ocy;&bcy;&rcy;&acy;&tcy;&ncy;&ocy; &ncy;&acy; p4:</span></p> <div> <div> <pre class="hljs language-ruby"><span class="hljs-variable">$ </span>git p4 submit</pre> </div> </div> </li> </ul> </div> </div> <h2 class="text-body-emphasis"  id="_commands"><span data-i18n="b269dc4e81a528a4d42e9e74101923514a626f55f8dd76b1461e0690e72d041a/f5" data-source="Commands" onmousemove="i18n(this)">Commands</span></h2> <div> <div> <h3 class="text-body-emphasis"  id="_clone"><span data-i18n="5779f32fab00c2aae390fe9f63877444b90eb7c12cca5e8903f7c02d2759f9db/80" data-source="Clone" onmousemove="i18n(this)">Clone</span></h3> <p><span data-i18n="d5c1ac2faac23b7a44b4e32474195f5de4b1556477fb0c84f5f5a35af30836c5/b9" data-source="Generally, &lt;code&gt;git p4 clone&lt;/code&gt; is used to create a new Git directory from an existing p4 repository:" onmousemove="i18n(this)">&Ocy;&bcy;&ycy;&chcy;&ncy;&ocy;  <code>git p4 clone</code>  &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy; &dcy;&lcy;&yacy; &scy;&ocy;&zcy;&dcy;&acy;&ncy;&icy;&yacy; &ncy;&ocy;&vcy;&ocy;&gcy;&ocy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&acy;  Git  &icy;&zcy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&iecy;&gcy;&ocy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yacy; p4:</span></p> <div> <div> <pre class="hljs language-shell"><span class="hljs-meta prompt_">$ </span><span class="language-bash">git p4 <span class="hljs-built_in">clone</span> //depot/path/project</span></pre> </div> </div> <p><span data-i18n="2760e74761ea81500621d631d93b5c0f472f13d80092056a65f34e1d2e1c9352/3d" data-source="This:" onmousemove="i18n(this)">This:</span></p> <div> <ol> <li> <p><span data-i18n="45f0899c3a073c8fab22cd4bcd283f6afc0bcd399527bed77e026dd8d99584e2/92" data-source="Creates an empty Git repository in a subdirectory called &lt;code&gt;project&lt;/code&gt;." onmousemove="i18n(this)">&Scy;&ocy;&zcy;&dcy;&acy;&iecy;&tcy; &pcy;&ucy;&scy;&tcy;&ocy;&jcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy;  Git  &vcy; &pcy;&ocy;&dcy;&kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&iecy; &scy; &icy;&mcy;&iecy;&ncy;&iecy;&mcy;  <code>project</code> .</span></p> </li> <li> <p><span data-i18n="ce1e0fc9b4f2b8706a3a8ad8416d6f7441701f031f611ac3f4d040f3d012f547/2a" data-source="Imports the full contents of the head revision from the given p4 depot path into a single commit in the Git branch &lt;code&gt;refs/remotes/p4/master&lt;/code&gt;." onmousemove="i18n(this)">&Icy;&mcy;&pcy;&ocy;&rcy;&tcy;&icy;&rcy;&ucy;&iecy;&tcy; &pcy;&ocy;&lcy;&ncy;&ocy;&iecy; &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&icy;&mcy;&ocy;&iecy; &gcy;&ocy;&lcy;&ocy;&vcy;&ncy;&ocy;&jcy; &rcy;&iecy;&vcy;&icy;&zcy;&icy;&icy; &icy;&zcy; &zcy;&acy;&dcy;&acy;&ncy;&ncy;&ocy;&gcy;&ocy; &pcy;&ucy;&tcy;&icy; &khcy;&rcy;&acy;&ncy;&icy;&lcy;&icy;&shchcy;&acy; p4 &vcy; &ocy;&dcy;&ncy;&ucy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&yucy; &vcy; &vcy;&iecy;&tcy;&kcy;&iecy;  Git   <code>refs/remotes/p4/master</code> .</span></p> </li> <li> <p><span data-i18n="b484ea53d034eaf1c160b9577d747f2f04e133a1994dd4849d68d23813430f97/c4" data-source="Creates a local branch, &lt;code&gt;master&lt;/code&gt; from this remote and checks it out." onmousemove="i18n(this)">&Scy;&ocy;&zcy;&dcy;&acy;&iecy;&tcy; &lcy;&ocy;&kcy;&acy;&lcy;&softcy;&ncy;&ucy;&yucy; &vcy;&iecy;&tcy;&kcy;&ucy;  <code>master</code>  &scy; &ecy;&tcy;&ocy;&gcy;&ocy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy; &ucy;&scy;&tcy;&rcy;&ocy;&jcy;&scy;&tcy;&vcy;&acy; &icy; &pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&yacy;&iecy;&tcy; &iecy;&iecy;.</span></p> </li> </ol> </div> <p><span data-i18n="4a2c8ab80d37fbb632f2fa1dbb45c52385d2b0a2d5d5f08527c622382d00e83f/39" data-source="To reproduce the entire p4 history in Git, use the &lt;code&gt;@all&lt;/code&gt; modifier on the depot path:" onmousemove="i18n(this)">&CHcy;&tcy;&ocy;&bcy;&ycy; &vcy;&ocy;&scy;&pcy;&rcy;&ocy;&icy;&zcy;&vcy;&iecy;&scy;&tcy;&icy; &vcy;&scy;&yucy; &icy;&scy;&tcy;&ocy;&rcy;&icy;&yucy; p4 &vcy; Git, &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&jcy;&tcy;&iecy; &mcy;&ocy;&dcy;&icy;&fcy;&icy;&kcy;&acy;&tcy;&ocy;&rcy;  <code>@all</code>  &vcy; &pcy;&ucy;&tcy;&icy; &kcy; &dcy;&iecy;&pcy;&ocy;:</span></p> <div> <div> <pre class="hljs language-shell"><span class="hljs-meta prompt_">$ </span><span class="language-bash">git p4 <span class="hljs-built_in">clone</span> //depot/path/project@all</span></pre> </div> </div> </div> <div> <h3 class="text-body-emphasis"  id="_sync"><span data-i18n="8d261a372fde1461cc4a5f53e938b337cfe335e2bd6d4e58d866ab97c5556052/f5" data-source="Sync" onmousemove="i18n(this)">Sync</span></h3> <p><span data-i18n="42b001a91c00225ec95a62500d1eb0d27f2a294ab8ee8cf2c35c3a2d831ff9e9/35" data-source="As development continues in the p4 repository, those changes can be included in the Git repository using:" onmousemove="i18n(this)">&Pcy;&ocy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ucy; &rcy;&acy;&zcy;&rcy;&acy;&bcy;&ocy;&tcy;&kcy;&acy; &vcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&icy; p4 &pcy;&rcy;&ocy;&dcy;&ocy;&lcy;&zhcy;&acy;&iecy;&tcy;&scy;&yacy;, &ecy;&tcy;&icy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &mcy;&ocy;&zhcy;&ncy;&ocy; &vcy;&kcy;&lcy;&yucy;&chcy;&icy;&tcy;&softcy; &vcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy;  Git , &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&yacy;:</span></p> <div> <div> <pre class="hljs language-shell"><span class="hljs-meta prompt_">$ </span><span class="language-bash">git p4 <span class="hljs-built_in">sync</span></span></pre> </div> </div> <p><span data-i18n="fde83c439200f9928a229968ebb3b14923cc16c83fe585fa58a27a560595b87c/e5" data-source="This command finds new changes in p4 and imports them as Git commits." onmousemove="i18n(this)">&Ecy;&tcy;&acy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&acy; &ncy;&acy;&khcy;&ocy;&dcy;&icy;&tcy; &ncy;&ocy;&vcy;&ycy;&iecy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &vcy; p4 &icy; &icy;&mcy;&pcy;&ocy;&rcy;&tcy;&icy;&rcy;&ucy;&iecy;&tcy; &icy;&khcy; &pcy;&ocy; &mcy;&iecy;&rcy;&iecy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy;  Git .</span></p> <p><span data-i18n="8c150634ff4e4164034707406ca3108dc5d195c91731c19d042c8dba24629418/a2" data-source="P4 repositories can be added to an existing Git repository using &lt;code&gt;git p4 sync&lt;/code&gt; too:" onmousemove="i18n(this)">&Rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&icy; P4 &tcy;&acy;&kcy;&zhcy;&iecy; &mcy;&ocy;&zhcy;&ncy;&ocy; &dcy;&ocy;&bcy;&acy;&vcy;&icy;&tcy;&softcy; &vcy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&icy;&jcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy;  Git  &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy;  <code>git p4 sync</code> :</span></p> <div> <div> <pre class="hljs language-shell"><span class="hljs-meta prompt_">$ </span><span class="language-bash"><span class="hljs-built_in">mkdir</span> repo-git</span>
<span class="hljs-meta prompt_">$ </span><span class="language-bash"><span class="hljs-built_in">cd</span> repo-git</span>
<span class="hljs-meta prompt_">$ </span><span class="language-bash">git init</span>
<span class="hljs-meta prompt_">$ </span><span class="language-bash">git p4 <span class="hljs-built_in">sync</span> //path/in/your/perforce/depot</span></pre> </div> </div> <p><span data-i18n="93f0d820dc5969649832fb92bfbc31c6ea9f241e93dff79d9485ca450f617cf9/43" data-source="This imports the specified depot into &lt;code&gt;refs/remotes/p4/master&lt;/code&gt; in an existing Git repository. The &lt;code&gt;--branch&lt;/code&gt; option can be used to specify a different branch to be used for the p4 content." onmousemove="i18n(this)">&Pcy;&rcy;&icy; &ecy;&tcy;&ocy;&mcy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ncy;&ocy;&iecy; &khcy;&rcy;&acy;&ncy;&icy;&lcy;&icy;&shchcy;&iecy; &icy;&mcy;&pcy;&ocy;&rcy;&tcy;&icy;&rcy;&ucy;&iecy;&tcy;&scy;&yacy; &vcy;  <code>refs/remotes/p4/master</code>  &vcy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&iecy;&mcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&icy;  Git . &Ocy;&pcy;&tscy;&icy;&yucy;  <code>--branch</code>  &mcy;&ocy;&zhcy;&ncy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &dcy;&lcy;&yacy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&icy;&yacy; &dcy;&rcy;&ucy;&gcy;&ocy;&jcy; &vcy;&iecy;&tcy;&kcy;&icy;, &kcy;&ocy;&tcy;&ocy;&rcy;&acy;&yacy; &bcy;&ucy;&dcy;&iecy;&tcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy;&scy;&yacy; &dcy;&lcy;&yacy; &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&icy;&mcy;&ocy;&gcy;&ocy; p4.</span></p> <p><span data-i18n="dba12598bd903f7f3e6912af62897c8f9c09fbded0df3cebb56a872b1207cb3c/08" data-source="If a Git repository includes branches &lt;code&gt;refs/remotes/origin/p4&lt;/code&gt;, these will be fetched and consulted first during a &lt;code&gt;git p4 sync&lt;/code&gt;. Since importing directly from p4 is considerably slower than pulling changes from a Git remote, this can be useful in a multi-developer environment." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy;  Git  &vcy;&kcy;&lcy;&yucy;&chcy;&acy;&iecy;&tcy; &vcy;&iecy;&tcy;&kcy;&icy;  <code>refs/remotes/origin/p4</code> , &ocy;&ncy;&icy; &bcy;&ucy;&dcy;&ucy;&tcy; &vcy;&ycy;&bcy;&rcy;&acy;&ncy;&ycy; &icy; &pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&iecy;&ncy;&ycy; &vcy; &pcy;&iecy;&rcy;&vcy;&ucy;&yucy; &ocy;&chcy;&iecy;&rcy;&iecy;&dcy;&softcy; &vcy;&ocy; &vcy;&rcy;&iecy;&mcy;&yacy;  <code>git p4 sync</code> . &Pcy;&ocy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ucy; &icy;&mcy;&pcy;&ocy;&rcy;&tcy; &ncy;&iecy;&pcy;&ocy;&scy;&rcy;&iecy;&dcy;&scy;&tcy;&vcy;&iecy;&ncy;&ncy;&ocy; &icy;&zcy; p4 &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&yacy;&iecy;&tcy;&scy;&yacy; &zcy;&ncy;&acy;&chcy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy; &mcy;&iecy;&dcy;&lcy;&iecy;&ncy;&ncy;&iecy;&iecy;, &chcy;&iecy;&mcy; &pcy;&ocy;&lcy;&ucy;&chcy;&iecy;&ncy;&icy;&iecy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&jcy; &scy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy;  Git , &ecy;&tcy;&ocy; &mcy;&ocy;&zhcy;&iecy;&tcy; &bcy;&ycy;&tcy;&softcy; &pcy;&ocy;&lcy;&iecy;&zcy;&ncy;&ocy; &vcy; &scy;&rcy;&iecy;&dcy;&iecy; &scy; &ncy;&iecy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&icy;&mcy;&icy; &rcy;&acy;&zcy;&rcy;&acy;&bcy;&ocy;&tcy;&chcy;&icy;&kcy;&acy;&mcy;&icy;.</span></p> <p><span data-i18n="e8365ea8e5901021e3b02d395564a66266320bb9b6689bf86badc248b98185eb/8b" data-source="If there are multiple branches, doing &lt;code&gt;git p4 sync&lt;/code&gt; will automatically use the &amp;quot;BRANCH DETECTION&amp;quot; algorithm to try to partition new changes into the right branch. This can be overridden with the &lt;code&gt;--branch&lt;/code&gt; option to specify just a single branch to update." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy; &ncy;&iecy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ocy; &vcy;&iecy;&tcy;&vcy;&iecy;&jcy;, &pcy;&rcy;&icy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&iecy;&ncy;&icy;&icy;  <code>git p4 sync</code>  &acy;&vcy;&tcy;&ocy;&mcy;&acy;&tcy;&icy;&chcy;&iecy;&scy;&kcy;&icy; &bcy;&ucy;&dcy;&iecy;&tcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy;&scy;&yacy; &acy;&lcy;&gcy;&ocy;&rcy;&icy;&tcy;&mcy;  &quot;BRANCH DETECTION&quot; , &chcy;&tcy;&ocy;&bcy;&ycy; &pcy;&ocy;&pcy;&ycy;&tcy;&acy;&tcy;&softcy;&scy;&yacy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&icy;&tcy;&softcy; &ncy;&ocy;&vcy;&ycy;&iecy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &ncy;&acy; &pcy;&rcy;&acy;&vcy;&icy;&lcy;&softcy;&ncy;&ucy;&yucy; &vcy;&iecy;&tcy;&vcy;&softcy;. &Ecy;&tcy;&ocy; &mcy;&ocy;&zhcy;&ncy;&ocy; &pcy;&iecy;&rcy;&iecy;&ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&icy;&tcy;&softcy; &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy; &ocy;&pcy;&tscy;&icy;&icy;  <code>--branch</code> , &chcy;&tcy;&ocy;&bcy;&ycy; &ucy;&kcy;&acy;&zcy;&acy;&tcy;&softcy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &ocy;&dcy;&ncy;&ucy; &vcy;&iecy;&tcy;&vcy;&softcy; &dcy;&lcy;&yacy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&icy;&yacy;.</span></p> </div> <div> <h3 class="text-body-emphasis"  id="_rebase"><span data-i18n="9eb5b275c3a0fa435a84d0bf601d77c45ff5d942fa17e16c000b257d20cc605e/39" data-source="Rebase" onmousemove="i18n(this)">Rebase</span></h3> <p><span data-i18n="11d5b0fa3a9060b33acd837a5398abf33aea41db3e2b552df3becb349a317212/34" data-source="A common working pattern is to fetch the latest changes from the p4 depot and merge them with local uncommitted changes. Often, the p4 repository is the ultimate location for all code, thus a rebase workflow makes sense. This command does &lt;code&gt;git p4 sync&lt;/code&gt; followed by &lt;code&gt;git rebase&lt;/code&gt; to move local commits on top of updated p4 changes." onmousemove="i18n(this)">&Ocy;&bcy;&ycy;&chcy;&ncy;&acy;&yacy; &scy;&khcy;&iecy;&mcy;&acy; &rcy;&acy;&bcy;&ocy;&tcy;&ycy; &mdash; &pcy;&ocy;&lcy;&ucy;&chcy;&iecy;&ncy;&icy;&iecy; &pcy;&ocy;&scy;&lcy;&iecy;&dcy;&ncy;&icy;&khcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&jcy; &icy;&zcy; &khcy;&rcy;&acy;&ncy;&icy;&lcy;&icy;&shchcy;&acy; p4 &icy; &ocy;&bcy;&hardcy;&iecy;&dcy;&icy;&ncy;&iecy;&ncy;&icy;&iecy; &icy;&khcy; &scy; &lcy;&ocy;&kcy;&acy;&lcy;&softcy;&ncy;&ycy;&mcy;&icy; &ncy;&iecy;&zcy;&acy;&fcy;&icy;&kcy;&scy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ncy;&ycy;&mcy;&icy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy;&mcy;&icy;. &CHcy;&acy;&scy;&tcy;&ocy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy; p4 &yacy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &ocy;&scy;&ncy;&ocy;&vcy;&ncy;&ycy;&mcy; &mcy;&iecy;&scy;&tcy;&ocy;&mcy; &khcy;&rcy;&acy;&ncy;&iecy;&ncy;&icy;&yacy; &vcy;&scy;&iecy;&gcy;&ocy; &kcy;&ocy;&dcy;&acy;, &pcy;&ocy;&ecy;&tcy;&ocy;&mcy;&ucy; &icy;&mcy;&iecy;&iecy;&tcy; &scy;&mcy;&ycy;&scy;&lcy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy; &rcy;&acy;&bcy;&ocy;&chcy;&icy;&jcy; &pcy;&rcy;&ocy;&tscy;&iecy;&scy;&scy;. &Ecy;&tcy;&acy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&acy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&yacy;&iecy;&tcy;  <code>git p4 sync</code> , &acy; &zcy;&acy;&tcy;&iecy;&mcy;  <code>git rebase</code> , &chcy;&tcy;&ocy;&bcy;&ycy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&scy;&tcy;&icy;&tcy;&softcy; &lcy;&ocy;&kcy;&acy;&lcy;&softcy;&ncy;&ycy;&iecy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy; &pcy;&ocy;&vcy;&iecy;&rcy;&khcy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&ncy;&ycy;&khcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&jcy; p4.</span></p> <div> <div> <pre class="hljs language-ruby"><span class="hljs-variable">$ </span>git p4 rebase</pre> </div> </div> </div> <div> <h3 class="text-body-emphasis"  id="_submit"><span data-i18n="155f816c0407310c0dab222493370773e045ee7fe04e6c9a951b07f495531264/56" data-source="Submit" onmousemove="i18n(this)">Submit</span></h3> <p><span data-i18n="ff63a0ee01e597a9099bb6a02dc94e08369baebb699332c5f49f86bed5315b6d/ab" data-source="Submitting changes from a Git repository back to the p4 repository requires a separate p4 client workspace. This should be specified using the &lt;code&gt;P4CLIENT&lt;/code&gt; environment variable or the Git configuration variable &lt;code&gt;git-p4.client&lt;/code&gt;. The p4 client must exist, but the client root will be created and populated if it does not already exist." onmousemove="i18n(this)">&Dcy;&lcy;&yacy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&kcy;&icy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&jcy; &icy;&zcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yacy;  Git  &ocy;&bcy;&rcy;&acy;&tcy;&ncy;&ocy; &vcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy; p4 &tcy;&rcy;&iecy;&bcy;&ucy;&iecy;&tcy;&scy;&yacy; &ocy;&tcy;&dcy;&iecy;&lcy;&softcy;&ncy;&ocy;&iecy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&iecy; &pcy;&rcy;&ocy;&scy;&tcy;&rcy;&acy;&ncy;&scy;&tcy;&vcy;&ocy; &kcy;&lcy;&icy;&iecy;&ncy;&tcy;&acy; p4. &Ecy;&tcy;&ocy; &scy;&lcy;&iecy;&dcy;&ucy;&iecy;&tcy; &ucy;&kcy;&acy;&zcy;&acy;&tcy;&softcy; &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ocy;&jcy; &scy;&rcy;&iecy;&dcy;&ycy;  <code>P4CLIENT</code>  &icy;&lcy;&icy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ocy;&jcy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy;  Git   <code>git-p4.client</code> . &Kcy;&lcy;&icy;&iecy;&ncy;&tcy; p4 &dcy;&ocy;&lcy;&zhcy;&iecy;&ncy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ocy;&vcy;&acy;&tcy;&softcy;, &ncy;&ocy; &kcy;&ocy;&rcy;&ncy;&iecy;&vcy;&ocy;&jcy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy; &kcy;&lcy;&icy;&iecy;&ncy;&tcy;&acy; &bcy;&ucy;&dcy;&iecy;&tcy; &scy;&ocy;&zcy;&dcy;&acy;&ncy; &icy; &zcy;&acy;&pcy;&ocy;&lcy;&ncy;&iecy;&ncy;, &iecy;&scy;&lcy;&icy; &ocy;&ncy; &iecy;&shchcy;&iecy; &ncy;&iecy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy;.</span></p> <p><span data-i18n="f35d0ae54fa45b8ee14a6aabae7b62f5c524a759d0edaabb09e2da00b29f8529/57" data-source="To submit all changes that are in the current Git branch but not in the &lt;code&gt;p4/master&lt;/code&gt; branch, use:" onmousemove="i18n(this)">&CHcy;&tcy;&ocy;&bcy;&ycy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&icy;&tcy;&softcy; &vcy;&scy;&iecy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &iecy;&scy;&tcy;&softcy; &vcy; &tcy;&iecy;&kcy;&ucy;&shchcy;&iecy;&jcy; &vcy;&iecy;&tcy;&kcy;&iecy;  Git , &ncy;&ocy; &ncy;&iecy; &vcy; &vcy;&iecy;&tcy;&kcy;&iecy;  <code>p4/master</code> , &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&jcy;&tcy;&iecy;:</span></p> <div> <div> <pre class="hljs language-ruby"><span class="hljs-variable">$ </span>git p4 submit</pre> </div> </div> <p><span data-i18n="abc7da5b72c22dbbb8334e27ae612727607d4babf7728e5602384c48ee44436c/dd" data-source="To specify a branch other than the current one, use:" onmousemove="i18n(this)">&CHcy;&tcy;&ocy;&bcy;&ycy; &ucy;&kcy;&acy;&zcy;&acy;&tcy;&softcy; &vcy;&iecy;&tcy;&kcy;&ucy;, &ocy;&tcy;&lcy;&icy;&chcy;&ncy;&ucy;&yucy; &ocy;&tcy; &tcy;&iecy;&kcy;&ucy;&shchcy;&iecy;&jcy;, &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&jcy;&tcy;&iecy;:</span></p> <div> <div> <pre class="hljs language-ruby"><span class="hljs-variable">$ </span>git p4 submit topicbranch</pre> </div> </div> <p><span data-i18n="fad9282a042256ef7ab8f57d9e345edcf0454b0f75e47dc6f86fb256a11cd2c0/52" data-source="To specify a single commit or a range of commits, use:" onmousemove="i18n(this)">&CHcy;&tcy;&ocy;&bcy;&ycy; &ucy;&kcy;&acy;&zcy;&acy;&tcy;&softcy; &ocy;&dcy;&icy;&ncy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy; &icy;&lcy;&icy; &dcy;&icy;&acy;&pcy;&acy;&zcy;&ocy;&ncy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy;, &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&jcy;&tcy;&iecy;:</span></p> <div> <div> <pre class="hljs language-lua">$ git p4 submit <span class="hljs-comment">--commit &lt;sha1&gt;</span>
$ git p4 submit <span class="hljs-comment">--commit &lt;sha1..sha1&gt;</span></pre> </div> </div> <p><span data-i18n="5524d88df7de81063d04dff3e6d1438a7717dcf3655b27f4ea3df164bf19efb1/22" data-source="The upstream reference is generally &lt;code&gt;refs/remotes/p4/master&lt;/code&gt;, but can be overridden using the &lt;code&gt;--origin=&lt;/code&gt; command-line option." onmousemove="i18n(this)">&Vcy;&ocy;&scy;&khcy;&ocy;&dcy;&yacy;&shchcy;&acy;&yacy; &scy;&scy;&ycy;&lcy;&kcy;&acy; &ocy;&bcy;&ycy;&chcy;&ncy;&ocy; &mdash;  <code>refs/remotes/p4/master</code> , &ncy;&ocy; &iecy;&iecy; &mcy;&ocy;&zhcy;&ncy;&ocy; &pcy;&iecy;&rcy;&iecy;&ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&icy;&tcy;&softcy; &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy;&acy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ncy;&ocy;&jcy; &scy;&tcy;&rcy;&ocy;&kcy;&icy;  <code>--origin=</code> .</span></p> <p><span data-i18n="0894bee76e5a7e72249ea0e505012f75513bfb2ea1731f247ea01986376e9660/90" data-source="The p4 changes will be created as the user invoking &lt;code&gt;git p4 submit&lt;/code&gt;. The &lt;code&gt;--preserve-user&lt;/code&gt; option will cause ownership to be modified according to the author of the Git commit. This option requires admin privileges in p4, which can be granted using &lt;code&gt;p4 protect&lt;/code&gt;." onmousemove="i18n(this)">&Icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; p4 &bcy;&ucy;&dcy;&ucy;&tcy; &scy;&ocy;&zcy;&dcy;&acy;&ncy;&ycy; &pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&iecy;&lcy;&iecy;&mcy;, &vcy;&ycy;&zcy;&ycy;&vcy;&acy;&yucy;&shchcy;&icy;&mcy;  <code>git p4 submit</code> . &Ocy;&pcy;&tscy;&icy;&yacy;  <code>--preserve-user</code>  &pcy;&rcy;&icy;&vcy;&iecy;&dcy;&iecy;&tcy; &kcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yucy; &vcy;&lcy;&acy;&dcy;&iecy;&lcy;&softcy;&tscy;&acy; &vcy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&icy;&icy; &scy; &acy;&vcy;&tcy;&ocy;&rcy;&ocy;&mcy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy;  Git . &Dcy;&lcy;&yacy; &ecy;&tcy;&ocy;&gcy;&ocy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy;&acy; &tcy;&rcy;&iecy;&bcy;&ucy;&yucy;&tcy;&scy;&yacy; &pcy;&rcy;&acy;&vcy;&acy; &acy;&dcy;&mcy;&icy;&ncy;&icy;&scy;&tcy;&rcy;&acy;&tcy;&ocy;&rcy;&acy; &vcy; p4, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &mcy;&ocy;&zhcy;&ncy;&ocy; &pcy;&rcy;&iecy;&dcy;&ocy;&scy;&tcy;&acy;&vcy;&icy;&tcy;&softcy; &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy;  <code>p4 protect</code> .</span></p> <p><span data-i18n="ec708b3c51279ab89b1c9dc474445656e542882904a0102b3c442f46c2a299b7/a2" data-source="To shelve changes instead of submitting, use &lt;code&gt;--shelve&lt;/code&gt; and &lt;code&gt;--update-shelve&lt;/code&gt;:" onmousemove="i18n(this)">&CHcy;&tcy;&ocy;&bcy;&ycy; &ocy;&tcy;&lcy;&ocy;&zhcy;&icy;&tcy;&softcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &vcy;&mcy;&iecy;&scy;&tcy;&ocy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&kcy;&icy;, &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&jcy;&tcy;&iecy;  <code>--shelve</code>  &icy;  <code>--update-shelve</code> :</span></p> <div> <div> <pre class="hljs language-scss">$ git p4 submit <span class="hljs-attr">--shelve</span>
$ git p4 submit <span class="hljs-attr">--update-shelve</span> <span class="hljs-number">1234</span> <span class="hljs-attr">--update-shelve</span> <span class="hljs-number">2345</span></pre> </div> </div> </div> <div> <h3 class="text-body-emphasis"  id="_unshelve"><span data-i18n="41190d47b793b86de0b52a5de5b7e0041b0a8a78ef3be437acc8a5b5bb7a4536/59" data-source="Unshelve" onmousemove="i18n(this)">Unshelve</span></h3> <p><span data-i18n="f2f78ca75c40fa8f74bcfecef80d0ace4953e5f7ae8ee32fc42480c0e5b4efd3/b7" data-source="Unshelving will take a shelved P4 changelist, and produce the equivalent git commit in the branch refs/remotes/p4-unshelved/&amp;lt;changelist&amp;gt;." onmousemove="i18n(this)">Unshelving &vcy;&ocy;&zcy;&softcy;&mcy;&iecy;&tcy; &ocy;&tcy;&lcy;&ocy;&zhcy;&iecy;&ncy;&ncy;&ycy;&jcy; &scy;&pcy;&icy;&scy;&ocy;&kcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&jcy; P4 &icy; &scy;&ocy;&zcy;&dcy;&acy;&scy;&tcy; &ecy;&kcy;&vcy;&icy;&vcy;&acy;&lcy;&iecy;&ncy;&tcy;&ncy;&ycy;&jcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;  git  &vcy; &vcy;&iecy;&tcy;&kcy;&iecy; refs/remotes/p4-unshelved/&lt;changelist&gt;.</span></p> <p><span data-i18n="0eab08f0183bd6fc6278940860f1d11afc283c767cdb9079fc6e3a4d0b8d76e6/e8" data-source="The git commit is created relative to the current origin revision (HEAD by default). A parent commit is created based on the origin, and then the unshelve commit is created based on that." onmousemove="i18n(this)">&Kcy;&ocy;&mcy;&mcy;&icy;&tcy;  git  &scy;&ocy;&zcy;&dcy;&acy;&iecy;&tcy;&scy;&yacy; &ocy;&tcy;&ncy;&ocy;&scy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy; &tcy;&iecy;&kcy;&ucy;&shchcy;&iecy;&jcy; &icy;&scy;&khcy;&ocy;&dcy;&ncy;&ocy;&jcy; &vcy;&iecy;&rcy;&scy;&icy;&icy; (&pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; HEAD). &Rcy;&ocy;&dcy;&icy;&tcy;&iecy;&lcy;&softcy;&scy;&kcy;&icy;&jcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy; &scy;&ocy;&zcy;&dcy;&acy;&iecy;&tcy;&scy;&yacy; &ncy;&acy; &ocy;&scy;&ncy;&ocy;&vcy;&iecy; &icy;&scy;&tcy;&ocy;&chcy;&ncy;&icy;&kcy;&acy;, &acy; &zcy;&acy;&tcy;&iecy;&mcy; &ncy;&acy; &iecy;&gcy;&ocy; &ocy;&scy;&ncy;&ocy;&vcy;&iecy; &scy;&ocy;&zcy;&dcy;&acy;&iecy;&tcy;&scy;&yacy; unshelve &kcy;&ocy;&mcy;&mcy;&icy;&tcy;.</span></p> <p><span data-i18n="22ed103031ad0fda8448f55375d56d88eab30d0cc92e5b12eacfe0e0fb377bee/78" data-source="The origin revision can be changed with the &amp;quot;--origin&amp;quot; option." onmousemove="i18n(this)">&Icy;&scy;&khcy;&ocy;&dcy;&ncy;&ucy;&yucy; &vcy;&iecy;&rcy;&scy;&icy;&yucy; &mcy;&ocy;&zhcy;&ncy;&ocy; &icy;&zcy;&mcy;&iecy;&ncy;&icy;&tcy;&softcy; &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy; &ocy;&pcy;&tscy;&icy;&icy;  &quot;--origin&quot; .</span></p> <p><span data-i18n="43f8412f5eb7755b39cae9a6417869298615526e30c6b76d6cdf33a6deb25e3d/bf" data-source="If the target branch in refs/remotes/p4-unshelved already exists, the old one will be renamed." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &tscy;&iecy;&lcy;&iecy;&vcy;&acy;&yacy; &vcy;&iecy;&tcy;&kcy;&acy; &vcy; refs/remotes/p4-unshelved &ucy;&zhcy;&iecy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy;, &scy;&tcy;&acy;&rcy;&acy;&yacy; &bcy;&ucy;&dcy;&iecy;&tcy; &pcy;&iecy;&rcy;&iecy;&icy;&mcy;&iecy;&ncy;&ocy;&vcy;&acy;&ncy;&acy;.</span></p> <div> <div> <pre class="hljs language-ruby"><span class="hljs-variable">$ </span>git p4 sync
<span class="hljs-variable">$ </span>git p4 unshelve <span class="hljs-number">12345</span>
<span class="hljs-variable">$ </span>git show p4-unshelved/<span class="hljs-number">12345</span>
&lt;submit more changes via p4 to the same files&gt;
<span class="hljs-variable">$ </span>git p4 unshelve <span class="hljs-number">12345</span>
&lt;refuses to unshelve <span class="hljs-keyword">until</span> git is <span class="hljs-keyword">in</span> sync with p4 again&gt;</pre> </div> </div> </div> </div> <h2 class="text-body-emphasis"  id="_options"><span data-i18n="d0db8b5e364b6989e4b8f38a2b3846b87d99a51c1592ebf35d21cc66405a8e39/b6" data-source="Options" onmousemove="i18n(this)">Options</span></h2> <div> <div> <h3 class="text-body-emphasis"  id="_general_options"><span data-i18n="1916d6feab9d22f50ff3ce701619eec1bd203b4c842c44df3dfbe0236831d4e2/bd" data-source="General options" onmousemove="i18n(this)">General options</span></h3> <p><span data-i18n="7c583c53e53040917ce17b732831ee042fea0cc88d4f4ea7fd6639e5bfae168e/7f" data-source="All commands except clone accept these options." onmousemove="i18n(this)">&Vcy;&scy;&iecy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ycy;, &kcy;&rcy;&ocy;&mcy;&iecy; &kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy;, &pcy;&rcy;&icy;&ncy;&icy;&mcy;&acy;&yucy;&tcy; &ecy;&tcy;&icy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy;&ycy;.</span></p> <div> <dl> <dt id="Documentation/git-p4.txt---git-dirltdirgt"><span data-i18n="ae1b976f9fdb0da7b9089ebe7cd7a6bd5bd456c82641fe716cb5da383c81b263/61" data-source="--git-dir &amp;lt;dir&amp;gt;" onmousemove="i18n(this)">--git-dir &lt;dir&gt;</span></dt> <dd> <p><span data-i18n="87c1b9ccb1c9f0e107590b6e0a713619392ee905e99ed345792f85efd5fe22a4/c1" data-source="Set the &lt;code&gt;GIT_DIR&lt;/code&gt; environment variable. See &lt;a href=&quot;git&quot;&gt;git[1]&lt;/a&gt;." onmousemove="i18n(this)">&Ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&icy;&tcy;&iecy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ucy;&yucy; &scy;&rcy;&iecy;&dcy;&ycy;  <code>GIT_DIR</code> . &Scy;&mcy;.  <a href="git.html">git[1]</a> .</span></p> </dd> <dt id="Documentation/git-p4.txt--v"><span data-i18n="81c36ccd44ef18baabad6e2d87038b72d606263bd6a3432b964a872023654fff/7c" data-source="-v" onmousemove="i18n(this)">-v</span></dt> <dt id="Documentation/git-p4.txt---verbose"><span data-i18n="bff1e8d3adf9e53481e9b21876983b359dc8a231bf7ebadde36a42dd7bd4db5c/93" data-source="--verbose" onmousemove="i18n(this)">--verbose</span></dt> <dd> <p><span data-i18n="5cb9bc6b31ccd3d0f87d91d7d649c17865d4637707b595f6329a13f3e24be885/c8" data-source="Provide more progress information." onmousemove="i18n(this)">&Pcy;&rcy;&iecy;&dcy;&ocy;&scy;&tcy;&acy;&vcy;&softcy;&tcy;&iecy; &bcy;&ocy;&lcy;&softcy;&shcy;&iecy; &icy;&ncy;&fcy;&ocy;&rcy;&mcy;&acy;&tscy;&icy;&icy; &ocy; &khcy;&ocy;&dcy;&iecy; &rcy;&acy;&bcy;&ocy;&tcy;&ycy;.</span></p> </dd> </dl> </div> </div> <div> <h3 class="text-body-emphasis"  id="_sync_options"><span data-i18n="ca9f7904b2747494042ff550c0ad7d2ed0210c25779358d2d1e355ed6f408b24/8e" data-source="Sync options" onmousemove="i18n(this)">Sync options</span></h3> <p><span data-i18n="721a36b952cf5f8ffb3a9a44a651ee79ae51a2e8af5157943da2a9743110bc77/fa" data-source="These options can be used in the initial &lt;code&gt;clone&lt;/code&gt; as well as in subsequent &lt;code&gt;sync&lt;/code&gt; operations." onmousemove="i18n(this)">&Ecy;&tcy;&icy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy;&ycy; &mcy;&ocy;&zhcy;&ncy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &vcy; &icy;&scy;&khcy;&ocy;&dcy;&ncy;&ocy;&mcy;  <code>clone</code> , &acy; &tcy;&acy;&kcy;&zhcy;&iecy; &vcy; &pcy;&ocy;&scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&icy;&khcy; &ocy;&pcy;&iecy;&rcy;&acy;&tscy;&icy;&yacy;&khcy;  <code>sync</code> .</span></p> <div> <dl> <dt id="Documentation/git-p4.txt---branchltrefgt"><span data-i18n="5654230977eaa96f5e8f14e2fbb11703940fb9d7ea5ceceb0c1091c6ea2320da/d0" data-source="--branch &amp;lt;ref&amp;gt;" onmousemove="i18n(this)">--branch &lt;ref&gt;</span></dt> <dd> <p><span data-i18n="21a397c5ec98d755e71fd1ac372bebdedfae0cc5553acc6259d4335e6292bef1/91" data-source="Import changes into &amp;lt;ref&amp;gt; instead of refs/remotes/p4/master. If &amp;lt;ref&amp;gt; starts with refs/, it is used as is. Otherwise, if it does not start with p4/, that prefix is added." onmousemove="i18n(this)">&Icy;&mcy;&pcy;&ocy;&rcy;&tcy;&icy;&rcy;&ucy;&jcy;&tcy;&iecy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &vcy; &lt;ref&gt; &vcy;&mcy;&iecy;&scy;&tcy;&ocy; refs/remotes/p4/master. &IEcy;&scy;&lcy;&icy; &lt;ref&gt; &ncy;&acy;&chcy;&icy;&ncy;&acy;&iecy;&tcy;&scy;&yacy; &scy; refs/, &ocy;&ncy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy; &kcy;&acy;&kcy; &iecy;&scy;&tcy;&softcy;. &Vcy; &pcy;&rcy;&ocy;&tcy;&icy;&vcy;&ncy;&ocy;&mcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy;, &iecy;&scy;&lcy;&icy; &ocy;&ncy; &ncy;&iecy; &ncy;&acy;&chcy;&icy;&ncy;&acy;&iecy;&tcy;&scy;&yacy; &scy; p4/, &dcy;&ocy;&bcy;&acy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &ecy;&tcy;&ocy;&tcy; &pcy;&rcy;&iecy;&fcy;&icy;&kcy;&scy;.</span></p> <p><span data-i18n="5c04145428a3ff1931f189e2037c9e1517c92da34ff40ae11a9a7f241a2be62d/6d" data-source="By default a &amp;lt;ref&amp;gt; not starting with refs/ is treated as the name of a remote-tracking branch (under refs/remotes/). This behavior can be modified using the --import-local option." onmousemove="i18n(this)">&Pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &lt;ref&gt;, &ncy;&iecy; &ncy;&acy;&chcy;&icy;&ncy;&acy;&yucy;&shchcy;&icy;&jcy;&scy;&yacy; &scy; refs/, &rcy;&acy;&scy;&scy;&mcy;&acy;&tcy;&rcy;&icy;&vcy;&acy;&iecy;&tcy;&scy;&yacy; &kcy;&acy;&kcy; &icy;&mcy;&yacy; &vcy;&iecy;&tcy;&kcy;&icy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy; &ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&ncy;&icy;&yacy; (&vcy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&iecy; refs/remotes/). &Ecy;&tcy;&ocy; &pcy;&ocy;&vcy;&iecy;&dcy;&iecy;&ncy;&icy;&iecy; &mcy;&ocy;&zhcy;&ncy;&ocy; &icy;&zcy;&mcy;&iecy;&ncy;&icy;&tcy;&softcy; &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy; &ocy;&pcy;&tscy;&icy;&icy; --import-local.</span></p> <p><span data-i18n="714b10e510fc8fcb331825f2787e1d58901069fdb64ded95f9fa6720c8ece6b2/01" data-source="The default &amp;lt;ref&amp;gt; is &amp;quot;master&amp;quot;." onmousemove="i18n(this)">&Pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &lt;ref&gt; &mdash;  &quot;master&quot; .</span></p> <p><span data-i18n="386c82571983de49ccdad82d51cc44a12c24e6af885d906a52cfa2578f19ae84/5d" data-source="This example imports a new remote &amp;quot;p4/proj2&amp;quot; into an existing Git repository:" onmousemove="i18n(this)">&Vcy; &ecy;&tcy;&ocy;&mcy; &pcy;&rcy;&icy;&mcy;&iecy;&rcy;&iecy; &ncy;&ocy;&vcy;&ycy;&jcy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ycy;&jcy;  &quot;p4/proj2&quot;  &icy;&mcy;&pcy;&ocy;&rcy;&tcy;&icy;&rcy;&ucy;&iecy;&tcy;&scy;&yacy; &vcy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&icy;&jcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy;  Git :</span></p> <div> <div> <pre class="hljs language-bash">    $ git init
    $ git p4 <span class="hljs-built_in">sync</span> --branch=refs/remotes/p4/proj2 //depot/proj2</pre> </div> </div> </dd> <dt id="Documentation/git-p4.txt---detect-branches"><span data-i18n="096e9aff46d8beb8337410db0566a2921ca1935bd52f26dcfa0d72d30ef139f4/9b" data-source="--detect-branches" onmousemove="i18n(this)">--detect-branches</span></dt> <dd> <p><span data-i18n="e88c10cdb5a6bd3d3d14b4d950d8713a6f9dae1ad5371e9e08bbd69b2986efed/1e" data-source="Use the branch detection algorithm to find new paths in p4. It is documented below in &amp;quot;BRANCH DETECTION&amp;quot;." onmousemove="i18n(this)">&Icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&jcy;&tcy;&iecy; &acy;&lcy;&gcy;&ocy;&rcy;&icy;&tcy;&mcy; &ocy;&bcy;&ncy;&acy;&rcy;&ucy;&zhcy;&iecy;&ncy;&icy;&yacy; &vcy;&iecy;&tcy;&vcy;&iecy;&jcy;, &chcy;&tcy;&ocy;&bcy;&ycy; &ncy;&acy;&jcy;&tcy;&icy; &ncy;&ocy;&vcy;&ycy;&iecy; &pcy;&ucy;&tcy;&icy; &vcy; p4. &Ecy;&tcy;&ocy; &ocy;&pcy;&icy;&scy;&acy;&ncy;&ocy; &ncy;&icy;&zhcy;&iecy; &vcy;  &quot;BRANCH DETECTION&quot; .</span></p> </dd> <dt id="Documentation/git-p4.txt---changesfileltfilegt"><span data-i18n="fcb092a59434000d329408c32da976cc1a5cfd3b1bf97777b27b4a097c9040e3/d9" data-source="--changesfile &amp;lt;file&amp;gt;" onmousemove="i18n(this)">--changesfile &lt;file&gt;</span></dt> <dd> <p><span data-i18n="1973714dcd983b2539f992f786fb0e75964bd25be339c3ecc064fd2286cdb923/08" data-source="Import exactly the p4 change numbers listed in &lt;code&gt;file&lt;/code&gt;, one per line. Normally, &lt;code&gt;git p4&lt;/code&gt; inspects the current p4 repository state and detects the changes it should import." onmousemove="i18n(this)">&Icy;&mcy;&pcy;&ocy;&rcy;&tcy;&icy;&rcy;&ucy;&jcy;&tcy;&iecy; &icy;&mcy;&iecy;&ncy;&ncy;&ocy; &tcy;&iecy; &ncy;&ocy;&mcy;&iecy;&rcy;&acy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&jcy; p4, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ycy; &vcy;  <code>file</code> , &pcy;&ocy; &ocy;&dcy;&ncy;&ocy;&mcy;&ucy; &vcy; &kcy;&acy;&zhcy;&dcy;&ocy;&jcy; &scy;&tcy;&rcy;&ocy;&kcy;&iecy;. &Ocy;&bcy;&ycy;&chcy;&ncy;&ocy;  <code>git p4</code>  &pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&yacy;&iecy;&tcy; &tcy;&iecy;&kcy;&ucy;&shchcy;&iecy;&iecy; &scy;&ocy;&scy;&tcy;&ocy;&yacy;&ncy;&icy;&iecy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yacy; p4 &icy; &ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&yacy;&iecy;&tcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &ncy;&iecy;&ocy;&bcy;&khcy;&ocy;&dcy;&icy;&mcy;&ocy; &icy;&mcy;&pcy;&ocy;&rcy;&tcy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy;.</span></p> </dd> <dt id="Documentation/git-p4.txt---silent"><span data-i18n="379f30dd1ed7b5cd6e175bf6d410bc0649f0964b9a6ea970f11caa170317ccda/b2" data-source="--silent" onmousemove="i18n(this)">--silent</span></dt> <dd> <p><span data-i18n="7175dcd666dff824da1a99c210b8f6cc54bf93699349166771ddbebfc043ac8e/6e" data-source="Do not print any progress information." onmousemove="i18n(this)">&Ncy;&iecy; &rcy;&acy;&scy;&pcy;&iecy;&chcy;&acy;&tcy;&ycy;&vcy;&acy;&jcy;&tcy;&iecy; &icy;&ncy;&fcy;&ocy;&rcy;&mcy;&acy;&tscy;&icy;&yucy; &ocy; &khcy;&ocy;&dcy;&iecy; &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&iecy;&ncy;&icy;&yacy;.</span></p> </dd> <dt id="Documentation/git-p4.txt---detect-labels"><span data-i18n="d0d958f112e22793e0dbecb914c4f64c544781581b9a8ddb4c9d85037a271d8c/8a" data-source="--detect-labels" onmousemove="i18n(this)">--detect-labels</span></dt> <dd> <p><span data-i18n="dbd676739e26a7dbf4b18e8792212703f6b8eaf0f4669ae08401c5b49153087f/cb" data-source="Query p4 for labels associated with the depot paths, and add them as tags in Git. Limited usefulness as only imports labels associated with new changelists. Deprecated." onmousemove="i18n(this)">&Zcy;&acy;&pcy;&rcy;&ocy;&scy;&icy;&tcy;&iecy; &ucy; p4 &mcy;&iecy;&tcy;&kcy;&icy;, &scy;&vcy;&yacy;&zcy;&acy;&ncy;&ncy;&ycy;&iecy; &scy; &pcy;&ucy;&tcy;&yacy;&mcy;&icy; &kcy; &dcy;&iecy;&pcy;&ocy;, &icy; &dcy;&ocy;&bcy;&acy;&vcy;&softcy;&tcy;&iecy; &icy;&khcy; &kcy;&acy;&kcy; &tcy;&iecy;&gcy;&icy; &vcy; Git. &Ocy;&gcy;&rcy;&acy;&ncy;&icy;&chcy;&iecy;&ncy;&ncy;&acy;&yacy; &pcy;&ocy;&lcy;&iecy;&zcy;&ncy;&ocy;&scy;&tcy;&softcy;, &pcy;&ocy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ucy; &icy;&mcy;&pcy;&ocy;&rcy;&tcy;&icy;&rcy;&ucy;&yucy;&tcy;&scy;&yacy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &mcy;&iecy;&tcy;&kcy;&icy;, &scy;&vcy;&yacy;&zcy;&acy;&ncy;&ncy;&ycy;&iecy; &scy; &ncy;&ocy;&vcy;&ycy;&mcy;&icy; &scy;&pcy;&icy;&scy;&kcy;&acy;&mcy;&icy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&jcy;. &Ucy;&scy;&tcy;&acy;&rcy;&iecy;&lcy;&ocy;.</span></p> </dd> <dt id="Documentation/git-p4.txt---import-labels"><span data-i18n="973c61bb8a87a1d1ebc49a0f59dabb3cb955aa90f0294764424e16e27599bfbf/3b" data-source="--import-labels" onmousemove="i18n(this)">--import-labels</span></dt> <dd> <p><span data-i18n="e10c1d2f50d42ee533110eac1ca64f7c913a6a28c313abec5e54db2d15e253bd/d0" data-source="Import labels from p4 into Git." onmousemove="i18n(this)">&Icy;&mcy;&pcy;&ocy;&rcy;&tcy;&icy;&rcy;&ucy;&jcy;&tcy;&iecy; &mcy;&iecy;&tcy;&kcy;&icy; &icy;&zcy; p4 &vcy; Git.</span></p> </dd> <dt id="Documentation/git-p4.txt---import-local"><span data-i18n="92bfeda66a59e0fdfb4b381bf9c878d8e65ff1ba99c0e028e82d722bb46c05b0/6c" data-source="--import-local" onmousemove="i18n(this)">--import-local</span></dt> <dd> <p><span data-i18n="f0e4288ef0d359a64cbec7c86f54d3aa8603d9a3cbf147c814616a8c4817ba06/ad" data-source="By default, p4 branches are stored in &lt;code&gt;refs/remotes/p4/&lt;/code&gt;, where they will be treated as remote-tracking branches by &lt;a href=&quot;git-branch&quot;&gt;git-branch[1]&lt;/a&gt; and other commands. This option instead puts p4 branches in &lt;code&gt;refs/heads/p4/&lt;/code&gt;. Note that future sync operations must specify &lt;code&gt;--import-local&lt;/code&gt; as well so that they can find the p4 branches in refs/heads." onmousemove="i18n(this)">&Pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &vcy;&iecy;&tcy;&kcy;&icy; p4 &khcy;&rcy;&acy;&ncy;&yacy;&tcy;&scy;&yacy; &vcy;  <code>refs/remotes/p4/</code> , &gcy;&dcy;&iecy; &ocy;&ncy;&icy; &bcy;&ucy;&dcy;&ucy;&tcy; &rcy;&acy;&scy;&scy;&mcy;&acy;&tcy;&rcy;&icy;&vcy;&acy;&tcy;&softcy;&scy;&yacy; &kcy;&acy;&kcy; &vcy;&iecy;&tcy;&kcy;&icy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ocy;&gcy;&ocy; &ocy;&tcy;&scy;&lcy;&iecy;&zhcy;&icy;&vcy;&acy;&ncy;&icy;&yacy; &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy;  <a href="git-branch.html">git-branch[1]</a>  &icy; &dcy;&rcy;&ucy;&gcy;&icy;&khcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;. &Vcy;&mcy;&iecy;&scy;&tcy;&ocy; &ecy;&tcy;&ocy;&gcy;&ocy; &ecy;&tcy;&ocy;&tcy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy; &pcy;&ocy;&mcy;&iecy;&shchcy;&acy;&iecy;&tcy; &vcy;&iecy;&tcy;&kcy;&icy; p4 &vcy;  <code>refs/heads/p4/</code> . &Ocy;&bcy;&rcy;&acy;&tcy;&icy;&tcy;&iecy; &vcy;&ncy;&icy;&mcy;&acy;&ncy;&icy;&iecy;, &chcy;&tcy;&ocy; &bcy;&ucy;&dcy;&ucy;&shchcy;&icy;&iecy; &ocy;&pcy;&iecy;&rcy;&acy;&tscy;&icy;&icy; &scy;&icy;&ncy;&khcy;&rcy;&ocy;&ncy;&icy;&zcy;&acy;&tscy;&icy;&icy; &tcy;&acy;&kcy;&zhcy;&iecy; &dcy;&ocy;&lcy;&zhcy;&ncy;&ycy; &ucy;&kcy;&acy;&zcy;&ycy;&vcy;&acy;&tcy;&softcy;  <code>--import-local</code> , &chcy;&tcy;&ocy;&bcy;&ycy; &ocy;&ncy;&icy; &mcy;&ocy;&gcy;&lcy;&icy; &ncy;&acy;&jcy;&tcy;&icy; &vcy;&iecy;&tcy;&kcy;&icy; p4 &vcy; refs/heads.</span></p> </dd> <dt id="Documentation/git-p4.txt---max-changesltngt"><span data-i18n="67066f625bcf571ac024ba0f93c96b2951138307517b5aad9007709009133eef/f1" data-source="--max-changes &amp;lt;n&amp;gt;" onmousemove="i18n(this)">--max-changes &lt;n&gt;</span></dt> <dd> <p><span data-i18n="a34906a8a3b56d86c4775f6636e8a4d057c16eb3ebe4f342f362ba3bbb4ca01c/83" data-source="Import at most &lt;code&gt;n&lt;/code&gt; changes, rather than the entire range of changes included in the given revision specifier. A typical usage would be use &lt;code&gt;@all&lt;/code&gt; as the revision specifier, but then to use &lt;code&gt;--max-changes 1000&lt;/code&gt; to import only the last 1000 revisions rather than the entire revision history." onmousemove="i18n(this)">&Icy;&mcy;&pcy;&ocy;&rcy;&tcy;&icy;&rcy;&ucy;&jcy;&tcy;&iecy; &mcy;&acy;&kcy;&scy;&icy;&mcy;&ucy;&mcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&jcy;  <code>n</code> , &acy; &ncy;&iecy; &vcy;&iecy;&scy;&softcy; &dcy;&icy;&acy;&pcy;&acy;&zcy;&ocy;&ncy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&jcy;, &vcy;&kcy;&lcy;&yucy;&chcy;&iecy;&ncy;&ncy;&ycy;&khcy; &vcy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ncy;&ycy;&jcy; &scy;&pcy;&iecy;&tscy;&icy;&fcy;&icy;&kcy;&acy;&tcy;&ocy;&rcy; &vcy;&iecy;&rcy;&scy;&icy;&icy;. &Tcy;&icy;&pcy;&icy;&chcy;&ncy;&ycy;&mcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy;&mcy; &bcy;&ucy;&dcy;&iecy;&tcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy;  <code>@all</code>  &vcy; &kcy;&acy;&chcy;&iecy;&scy;&tcy;&vcy;&iecy; &scy;&pcy;&iecy;&tscy;&icy;&fcy;&icy;&kcy;&acy;&tcy;&ocy;&rcy;&acy; &vcy;&iecy;&rcy;&scy;&icy;&icy;, &acy; &zcy;&acy;&tcy;&iecy;&mcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy;  <code>--max-changes 1000</code>  &dcy;&lcy;&yacy; &icy;&mcy;&pcy;&ocy;&rcy;&tcy;&acy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &pcy;&ocy;&scy;&lcy;&iecy;&dcy;&ncy;&icy;&khcy; 1000 &vcy;&iecy;&rcy;&scy;&icy;&jcy;, &acy; &ncy;&iecy; &vcy;&scy;&iecy;&jcy; &icy;&scy;&tcy;&ocy;&rcy;&icy;&icy; &vcy;&iecy;&rcy;&scy;&icy;&jcy;.</span></p> </dd> <dt id="Documentation/git-p4.txt---changes-block-sizeltngt"><span data-i18n="e5c1cac81a4cb07bc7ea7a106a04073699d7ef45db4d616e711c7873b14f1efd/53" data-source="--changes-block-size &amp;lt;n&amp;gt;" onmousemove="i18n(this)">--changes-block-size &lt;n&gt;</span></dt> <dd> <p><span data-i18n="11587444424467f215d62919a7ec994cf143029c64cf07d0f8cc23a48e678622/e1" data-source="The internal block size to use when converting a revision specifier such as &lt;code&gt;@all&lt;/code&gt; into a list of specific change numbers. Instead of using a single call to &lt;code&gt;p4 changes&lt;/code&gt; to find the full list of changes for the conversion, there are a sequence of calls to &lt;code&gt;p4 changes -m&lt;/code&gt;, each of which requests one block of changes of the given size. The default block size is 500, which should usually be suitable." onmousemove="i18n(this)">&Rcy;&acy;&zcy;&mcy;&iecy;&rcy; &vcy;&ncy;&ucy;&tcy;&rcy;&iecy;&ncy;&ncy;&iecy;&gcy;&ocy; &bcy;&lcy;&ocy;&kcy;&acy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&jcy; &bcy;&ucy;&dcy;&iecy;&tcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy;&scy;&yacy; &pcy;&rcy;&icy; &pcy;&rcy;&iecy;&ocy;&bcy;&rcy;&acy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&icy; &scy;&pcy;&iecy;&tscy;&icy;&fcy;&icy;&kcy;&acy;&tcy;&ocy;&rcy;&acy; &vcy;&iecy;&rcy;&scy;&icy;&icy;, &ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;  <code>@all</code> , &vcy; &scy;&pcy;&icy;&scy;&ocy;&kcy; &kcy;&ocy;&ncy;&kcy;&rcy;&iecy;&tcy;&ncy;&ycy;&khcy; &ncy;&ocy;&mcy;&iecy;&rcy;&ocy;&vcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&jcy;. &Vcy;&mcy;&iecy;&scy;&tcy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &ocy;&dcy;&ncy;&ocy;&gcy;&ocy; &vcy;&ycy;&zcy;&ocy;&vcy;&acy;  <code>p4 changes</code>  &dcy;&lcy;&yacy; &pcy;&ocy;&icy;&scy;&kcy;&acy; &pcy;&ocy;&lcy;&ncy;&ocy;&gcy;&ocy; &scy;&pcy;&icy;&scy;&kcy;&acy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&jcy; &dcy;&lcy;&yacy; &pcy;&rcy;&iecy;&ocy;&bcy;&rcy;&acy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy; &pcy;&ocy;&scy;&lcy;&iecy;&dcy;&ocy;&vcy;&acy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy;&scy;&tcy;&softcy; &vcy;&ycy;&zcy;&ocy;&vcy;&ocy;&vcy;  <code>p4 changes -m</code> , &kcy;&acy;&zhcy;&dcy;&ycy;&jcy; &icy;&zcy; &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&khcy; &zcy;&acy;&pcy;&rcy;&acy;&shcy;&icy;&vcy;&acy;&iecy;&tcy; &ocy;&dcy;&icy;&ncy; &bcy;&lcy;&ocy;&kcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&jcy; &zcy;&acy;&dcy;&acy;&ncy;&ncy;&ocy;&gcy;&ocy; &rcy;&acy;&zcy;&mcy;&iecy;&rcy;&acy;. &Rcy;&acy;&zcy;&mcy;&iecy;&rcy; &bcy;&lcy;&ocy;&kcy;&acy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &mdash; 500, &chcy;&tcy;&ocy; &ocy;&bcy;&ycy;&chcy;&ncy;&ocy; &vcy;&pcy;&ocy;&lcy;&ncy;&iecy; &pcy;&ocy;&dcy;&khcy;&ocy;&dcy;&icy;&tcy;.</span></p> </dd> <dt id="Documentation/git-p4.txt---keep-path"><span data-i18n="f17d165d5ec81cea16e8aef2cac2bd16df3cc654eeb745bc508df7f2ff2821b1/2e" data-source="--keep-path" onmousemove="i18n(this)">--keep-path</span></dt> <dd> <p><span data-i18n="825251d6a0310de69ae72b8bfab00b55a4a15ccc5ccb098e3533900843a156c3/0c" data-source="The mapping of file names from the p4 depot path to Git, by default, involves removing the entire depot path. With this option, the full p4 depot path is retained in Git. For example, path &lt;code&gt;//depot/main/foo/bar.c&lt;/code&gt;, when imported from &lt;code&gt;//depot/main/&lt;/code&gt;, becomes &lt;code&gt;foo/bar.c&lt;/code&gt;. With &lt;code&gt;--keep-path&lt;/code&gt;, the Git path is instead &lt;code&gt;depot/main/foo/bar.c&lt;/code&gt;." onmousemove="i18n(this)">&Scy;&ocy;&pcy;&ocy;&scy;&tcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&iecy; &icy;&mcy;&iecy;&ncy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy; &icy;&zcy; &pcy;&ucy;&tcy;&icy; &kcy; &khcy;&rcy;&acy;&ncy;&icy;&lcy;&icy;&shchcy;&ucy; p4 &scy;  Git  &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &vcy;&kcy;&lcy;&yucy;&chcy;&acy;&iecy;&tcy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&icy;&iecy; &vcy;&scy;&iecy;&gcy;&ocy; &pcy;&ucy;&tcy;&icy; &kcy; &khcy;&rcy;&acy;&ncy;&icy;&lcy;&icy;&shchcy;&ucy;. &Pcy;&rcy;&icy; &ecy;&tcy;&ocy;&mcy; &vcy;&acy;&rcy;&icy;&acy;&ncy;&tcy;&iecy; &pcy;&ocy;&lcy;&ncy;&ycy;&jcy; &pcy;&ucy;&tcy;&softcy; &dcy;&iecy;&pcy;&ocy; p4 &scy;&ocy;&khcy;&rcy;&acy;&ncy;&yacy;&iecy;&tcy;&scy;&yacy; &vcy;  Git . &Ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;, &pcy;&ucy;&tcy;&softcy;  <code>//depot/main/foo/bar.c</code>  &pcy;&rcy;&icy; &icy;&mcy;&pcy;&ocy;&rcy;&tcy;&iecy; &icy;&zcy;  <code>//depot/main/</code>  &scy;&tcy;&acy;&ncy;&ocy;&vcy;&icy;&tcy;&scy;&yacy;  <code>foo/bar.c</code> . &Vcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy;  <code>--keep-path</code>  &pcy;&ucy;&tcy;&softcy;  Git  &vcy;&mcy;&iecy;&scy;&tcy;&ocy;  <code>depot/main/foo/bar.c</code> .</span></p> </dd> <dt id="Documentation/git-p4.txt---use-client-spec"><span data-i18n="432fc2280380a6a7d2bd0f221d0c5fc552e913c1bcfc1c31e802e3af05376837/61" data-source="--use-client-spec" onmousemove="i18n(this)">--use-client-spec</span></dt> <dd> <p><span data-i18n="f2ca9ce1d3f74bda7be7b4ebde10b432efc6aa1f05b2c9fce566e00cff8063e4/ec" data-source="Use a client spec to find the list of interesting files in p4. See the &amp;quot;CLIENT SPEC&amp;quot; section below." onmousemove="i18n(this)">&Icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&jcy;&tcy;&iecy; &scy;&pcy;&iecy;&tscy;&icy;&fcy;&icy;&kcy;&acy;&tscy;&icy;&yucy; &kcy;&lcy;&icy;&iecy;&ncy;&tcy;&acy;, &chcy;&tcy;&ocy;&bcy;&ycy; &ncy;&acy;&jcy;&tcy;&icy; &scy;&pcy;&icy;&scy;&ocy;&kcy; &icy;&ncy;&tcy;&iecy;&rcy;&iecy;&scy;&ncy;&ycy;&khcy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy; &vcy; p4. &Scy;&mcy;. &rcy;&acy;&zcy;&dcy;&iecy;&lcy;  &quot;CLIENT SPEC&quot;  &ncy;&icy;&zhcy;&iecy;.</span></p> </dd> <dt id="Documentation/git-p4.txt--ltpathgt"><span data-i18n="47df42f5cf5dc91d2f3332729bb0b7590a796f9e01f06ee6e0b73273eb051ae7/60" data-source="-/ &amp;lt;path&amp;gt;" onmousemove="i18n(this)">-/ &lt;path&gt;</span></dt> <dd> <p><span data-i18n="c55c6fee3a043ae6b8565f3b42d47c4ee2dc6f9d1a1546a67a390dcb1e7ad9df/fd" data-source="Exclude selected depot paths when cloning or syncing." onmousemove="i18n(this)">&Icy;&scy;&kcy;&lcy;&yucy;&chcy;&icy;&tcy;&softcy; &vcy;&ycy;&bcy;&rcy;&acy;&ncy;&ncy;&ycy;&iecy; &pcy;&ucy;&tcy;&icy; &kcy; &dcy;&iecy;&pcy;&ocy; &pcy;&rcy;&icy; &kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&icy; &icy;&lcy;&icy; &scy;&icy;&ncy;&khcy;&rcy;&ocy;&ncy;&icy;&zcy;&acy;&tscy;&icy;&icy;.</span></p> </dd> </dl> </div> </div> <div> <h3 class="text-body-emphasis"  id="_clone_options"><span data-i18n="0639d08937860007bffc0e7663f7c64c71720db7c698023683462c1fa81231b6/f9" data-source="Clone options" onmousemove="i18n(this)">Clone options</span></h3> <p><span data-i18n="18c7d0bdb40adef4f49660147ce0362708dc7a809263211df523042355794fa2/bd" data-source="These options can be used in an initial &lt;code&gt;clone&lt;/code&gt;, along with the &lt;code&gt;sync&lt;/code&gt; options described above." onmousemove="i18n(this)">&Ecy;&tcy;&icy; &ocy;&pcy;&tscy;&icy;&icy; &mcy;&ocy;&gcy;&ucy;&tcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy;&scy;&yacy; &vcy; &icy;&scy;&khcy;&ocy;&dcy;&ncy;&ocy;&mcy;  <code>clone</code>  &vcy;&mcy;&iecy;&scy;&tcy;&iecy; &scy; &ocy;&pcy;&tscy;&icy;&yacy;&mcy;&icy;  <code>sync</code> , &ocy;&pcy;&icy;&scy;&acy;&ncy;&ncy;&ycy;&mcy;&icy; &vcy;&ycy;&shcy;&iecy;.</span></p> <div> <dl> <dt id="Documentation/git-p4.txt---destinationltdirectorygt"><span data-i18n="a8a1445221014c6698af9a322674258f99db68642c26995070e071c790816a19/f7" data-source="--destination &amp;lt;directory&amp;gt;" onmousemove="i18n(this)">--destination &lt;directory&gt;</span></dt> <dd> <p><span data-i18n="8e576c2ab04df5dcba9bc256a8c1a383b5b85bc363e539422f9ecb171c317708/f9" data-source="Where to create the Git repository. If not provided, the last component in the p4 depot path is used to create a new directory." onmousemove="i18n(this)">&Gcy;&dcy;&iecy; &scy;&ocy;&zcy;&dcy;&acy;&tcy;&softcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy;  Git . &IEcy;&scy;&lcy;&icy; &ocy;&ncy; &ncy;&iecy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;, &pcy;&ocy;&scy;&lcy;&iecy;&dcy;&ncy;&icy;&jcy; &kcy;&ocy;&mcy;&pcy;&ocy;&ncy;&iecy;&ncy;&tcy; &vcy; &pcy;&ucy;&tcy;&icy; &kcy; &khcy;&rcy;&acy;&ncy;&icy;&lcy;&icy;&shchcy;&ucy; p4 &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy; &dcy;&lcy;&yacy; &scy;&ocy;&zcy;&dcy;&acy;&ncy;&icy;&yacy; &ncy;&ocy;&vcy;&ocy;&gcy;&ocy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&acy;.</span></p> </dd> <dt id="Documentation/git-p4.txt---bare"><span data-i18n="cb1abf99e72ab1f9e258a96d3fe192cdbb16d2ded8d3d0c09c60d56fe19ca4fa/d8" data-source="--bare" onmousemove="i18n(this)">--bare</span></dt> <dd> <p><span data-i18n="a81b0f142b2e224096ab26def66c924dd82349cc6c6abef807a3fc8f97781f14/5a" data-source="Perform a bare clone. See &lt;a href=&quot;git-clone&quot;&gt;git-clone[1]&lt;/a&gt;." onmousemove="i18n(this)">&Vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&icy;&tcy;&iecy; &gcy;&ocy;&lcy;&ycy;&jcy; &kcy;&lcy;&ocy;&ncy;. &Scy;&mcy;.  <a href="git-clone.html">git-clone[1]</a> .</span></p> </dd> </dl> </div> </div> <div> <h3 class="text-body-emphasis"  id="_submit_options"><span data-i18n="20bc6c766f3ff2a4a10ef92fea04646465cad007e959f15c3d2077d3f09d2bba/64" data-source="Submit options" onmousemove="i18n(this)">Submit options</span></h3> <p><span data-i18n="c75c6afc9c11e280216ce33c1ac5825f37c527417967f6f0fb28eadaa3b9ff92/3b" data-source="These options can be used to modify &lt;code&gt;git p4 submit&lt;/code&gt; behavior." onmousemove="i18n(this)">&Ecy;&tcy;&icy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy;&ycy; &mcy;&ocy;&zhcy;&ncy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &dcy;&lcy;&yacy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &pcy;&ocy;&vcy;&iecy;&dcy;&iecy;&ncy;&icy;&yacy;  <code>git p4 submit</code> .</span></p> <div> <dl> <dt id="Documentation/git-p4.txt---originltcommitgt"><span data-i18n="0292b0bb0a9ecb7bfc84a3986b9d7ec295bbf427fbf89bb92fdf8e71742899ed/06" data-source="--origin &amp;lt;commit&amp;gt;" onmousemove="i18n(this)">--origin &lt;commit&gt;</span></dt> <dd> <p><span data-i18n="2703bb97b12f3e0d3d60f8e85f41f069149b7ad30b1cc81793ae152051ffc96b/56" data-source="Upstream location from which commits are identified to submit to p4. By default, this is the most recent p4 commit reachable from &lt;code&gt;HEAD&lt;/code&gt;." onmousemove="i18n(this)">&Vcy;&ocy;&scy;&khcy;&ocy;&dcy;&yacy;&shchcy;&iecy;&iecy; &rcy;&acy;&scy;&pcy;&ocy;&lcy;&ocy;&zhcy;&iecy;&ncy;&icy;&iecy;, &icy;&zcy; &kcy;&ocy;&tcy;&ocy;&rcy;&ocy;&gcy;&ocy; &ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&yacy;&yucy;&tcy;&scy;&yacy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy; &dcy;&lcy;&yacy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&kcy;&icy; &ncy;&acy; p4. &Pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &ecy;&tcy;&ocy; &scy;&acy;&mcy;&ycy;&jcy; &pcy;&ocy;&scy;&lcy;&iecy;&dcy;&ncy;&icy;&jcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy; p4, &dcy;&ocy;&scy;&tcy;&ucy;&pcy;&ncy;&ycy;&jcy; &icy;&zcy;  <code>HEAD</code> .</span></p> </dd> <dt id="Documentation/git-p4.txt--M"><span data-i18n="de8015a49c9fe509f63a4f1fcb6ee567e2f5581f96e3f9a75934905d71b15101/45" data-source="-M" onmousemove="i18n(this)">-M</span></dt> <dd> <p><span data-i18n="b5f5776b5ced3a9e42bbca4f888ba8006de135b05fbb0450c145a56c6e40b205/fd" data-source="Detect renames. See &lt;a href=&quot;git-diff&quot;&gt;git-diff[1]&lt;/a&gt;. Renames will be represented in p4 using explicit &lt;code&gt;move&lt;/code&gt; operations. There is no corresponding option to detect copies, but there are variables for both moves and copies." onmousemove="i18n(this)">&Ocy;&bcy;&ncy;&acy;&rcy;&ucy;&zhcy;&iecy;&ncy;&icy;&iecy; &pcy;&iecy;&rcy;&iecy;&icy;&mcy;&iecy;&ncy;&ocy;&vcy;&acy;&ncy;&icy;&jcy;. &Scy;&mcy;.  <a href="git-diff.html">git-diff[1]</a> . &Pcy;&iecy;&rcy;&iecy;&icy;&mcy;&iecy;&ncy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &bcy;&ucy;&dcy;&ucy;&tcy; &pcy;&rcy;&iecy;&dcy;&scy;&tcy;&acy;&vcy;&lcy;&iecy;&ncy;&ycy; &vcy; p4 &scy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy;&mcy; &yacy;&vcy;&ncy;&ycy;&khcy; &ocy;&pcy;&iecy;&rcy;&acy;&tscy;&icy;&jcy;  <code>move</code> . &Scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&iecy;&jcy; &ocy;&pcy;&tscy;&icy;&icy; &dcy;&lcy;&yacy; &ocy;&bcy;&ncy;&acy;&rcy;&ucy;&zhcy;&iecy;&ncy;&icy;&yacy; &kcy;&ocy;&pcy;&icy;&jcy; &ncy;&iecy;&tcy;, &ncy;&ocy; &iecy;&scy;&tcy;&softcy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ycy;&iecy; &kcy;&acy;&kcy; &dcy;&lcy;&yacy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&shchcy;&iecy;&ncy;&icy;&jcy;, &tcy;&acy;&kcy; &icy; &dcy;&lcy;&yacy; &kcy;&ocy;&pcy;&icy;&jcy;.</span></p> </dd> <dt id="Documentation/git-p4.txt---preserve-user"><span data-i18n="ee863a5789b9cc3138c6a1db4c622243784eb39a76a041d8c4fb337912058dcb/98" data-source="--preserve-user" onmousemove="i18n(this)">--preserve-user</span></dt> <dd> <p><span data-i18n="c08b3f9026b26db74d7bde87a13ea39c4199845a20772de7d69a9d838e9477a4/ff" data-source="Re-author p4 changes before submitting to p4. This option requires p4 admin privileges." onmousemove="i18n(this)">&Pcy;&iecy;&rcy;&iecy;&pcy;&icy;&shcy;&icy;&tcy;&iecy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; p4 &pcy;&iecy;&rcy;&iecy;&dcy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&kcy;&ocy;&jcy; &ncy;&acy; p4. &Dcy;&lcy;&yacy; &ecy;&tcy;&ocy;&jcy; &ocy;&pcy;&tscy;&icy;&icy; &tcy;&rcy;&iecy;&bcy;&ucy;&yucy;&tcy;&scy;&yacy; &pcy;&rcy;&acy;&vcy;&acy; &acy;&dcy;&mcy;&icy;&ncy;&icy;&scy;&tcy;&rcy;&acy;&tcy;&ocy;&rcy;&acy; p4.</span></p> </dd> <dt id="Documentation/git-p4.txt---export-labels"><span data-i18n="928378bef7168cc7f0e4f8816091d9d80bbcb002a39e9d3415e857572b6d6760/00" data-source="--export-labels" onmousemove="i18n(this)">--export-labels</span></dt> <dd> <p><span data-i18n="85ae379893851cc7e318e9508160c25f657b62b49ef2d0d108d2240c8b4ebf76/2c" data-source="Export tags from Git as p4 labels. Tags found in Git are applied to the perforce working directory." onmousemove="i18n(this)">&Ecy;&kcy;&scy;&pcy;&ocy;&rcy;&tcy;&icy;&rcy;&ucy;&jcy;&tcy;&iecy; &tcy;&iecy;&gcy;&icy; &icy;&zcy;  Git  &kcy;&acy;&kcy; &mcy;&iecy;&tcy;&kcy;&icy; p4. &Tcy;&iecy;&gcy;&icy;, &ncy;&acy;&jcy;&dcy;&iecy;&ncy;&ncy;&ycy;&iecy; &vcy;  Git , &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&yacy;&yucy;&tcy;&scy;&yacy; &kcy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&mcy;&ucy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&ucy; Perforce.</span></p> </dd> <dt id="Documentation/git-p4.txt--n"><span data-i18n="5249f4fcc629efa0e6d6b2bf746b6c5de61611ce719ad61ac820fbe5c8cece66/28" data-source="-n" onmousemove="i18n(this)">-n</span></dt> <dt id="Documentation/git-p4.txt---dry-run"><span data-i18n="675ca48430023bf861e914e0cf5bbe183efe84bd9d831affc574394bf4edc690/c1" data-source="--dry-run" onmousemove="i18n(this)">--dry-run</span></dt> <dd> <p><span data-i18n="96fdd861c4fb92a48779009543637a784361256e3f6b99fffb53d5bd5eb0430a/b6" data-source="Show just what commits would be submitted to p4; do not change state in Git or p4." onmousemove="i18n(this)">&Pcy;&ocy;&kcy;&acy;&zhcy;&icy;&tcy;&iecy;, &kcy;&acy;&kcy;&icy;&iecy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ycy; &bcy;&ucy;&dcy;&ucy;&tcy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&ycy; &ncy;&acy; p4; &ncy;&iecy; &mcy;&iecy;&ncy;&yacy;&jcy;&tcy;&iecy; &scy;&ocy;&scy;&tcy;&ocy;&yacy;&ncy;&icy;&iecy; &vcy;  Git  &icy;&lcy;&icy; p4.</span></p> </dd> <dt id="Documentation/git-p4.txt---prepare-p4-only"><span data-i18n="48a1469711341a0a3360dc393e0cb3ace9cf1aece438c9be156bb7751de976ac/25" data-source="--prepare-p4-only" onmousemove="i18n(this)">--prepare-p4-only</span></dt> <dd> <p><span data-i18n="10ef9f15fd90af96ba793006c8291e60857a4c095d1a9b92a6fbff4dbedbb3a5/37" data-source="Apply a commit to the p4 workspace, opening, adding and deleting files in p4 as for a normal submit operation. Do not issue the final &amp;quot;p4 submit&amp;quot;, but instead print a message about how to submit manually or revert. This option always stops after the first (oldest) commit. Git tags are not exported to p4." onmousemove="i18n(this)">&Pcy;&rcy;&icy;&mcy;&iecy;&ncy;&icy;&tcy;&iecy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&yucy; &kcy; &rcy;&acy;&bcy;&ocy;&chcy;&iecy;&jcy; &ocy;&bcy;&lcy;&acy;&scy;&tcy;&icy; p4, &ocy;&tcy;&kcy;&rcy;&ycy;&vcy;&acy;&yacy;, &dcy;&ocy;&bcy;&acy;&vcy;&lcy;&yacy;&yacy; &icy; &ucy;&dcy;&acy;&lcy;&yacy;&yacy; &fcy;&acy;&jcy;&lcy;&ycy; &vcy; p4, &kcy;&acy;&kcy; &pcy;&rcy;&icy; &ocy;&bcy;&ycy;&chcy;&ncy;&ocy;&jcy; &ocy;&pcy;&iecy;&rcy;&acy;&tscy;&icy;&icy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&kcy;&icy;. &Ncy;&iecy; &vcy;&ycy;&dcy;&acy;&vcy;&acy;&jcy;&tcy;&iecy; &ocy;&kcy;&ocy;&ncy;&chcy;&acy;&tcy;&iecy;&lcy;&softcy;&ncy;&ycy;&jcy;  &quot;p4 submit&quot; , &acy; &vcy;&mcy;&iecy;&scy;&tcy;&ocy; &ecy;&tcy;&ocy;&gcy;&ocy; &rcy;&acy;&scy;&pcy;&iecy;&chcy;&acy;&tcy;&acy;&jcy;&tcy;&iecy; &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&iecy; &ocy; &tcy;&ocy;&mcy;, &kcy;&acy;&kcy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&icy;&tcy;&softcy; &vcy;&rcy;&ucy;&chcy;&ncy;&ucy;&yucy; &icy;&lcy;&icy; &ocy;&tcy;&mcy;&iecy;&ncy;&icy;&tcy;&softcy;. &Ecy;&tcy;&acy; &ocy;&pcy;&tscy;&icy;&yacy; &vcy;&scy;&iecy;&gcy;&dcy;&acy; &ocy;&scy;&tcy;&acy;&ncy;&acy;&vcy;&lcy;&icy;&vcy;&acy;&iecy;&tcy;&scy;&yacy; &pcy;&ocy;&scy;&lcy;&iecy; &pcy;&iecy;&rcy;&vcy;&ocy;&gcy;&ocy; (&scy;&acy;&mcy;&ocy;&gcy;&ocy; &scy;&tcy;&acy;&rcy;&ocy;&gcy;&ocy;) &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&acy;. &Tcy;&iecy;&gcy;&icy;  Git  &ncy;&iecy; &ecy;&kcy;&scy;&pcy;&ocy;&rcy;&tcy;&icy;&rcy;&ucy;&yucy;&tcy;&scy;&yacy; &vcy; p4.</span></p> </dd> <dt id="Documentation/git-p4.txt---shelve"><span data-i18n="299888f8ed18a5cad3d3b92419dfbd2801684881a8b3ce9bcb293715ecb4be47/1d" data-source="--shelve" onmousemove="i18n(this)">--shelve</span></dt> <dd> <p><span data-i18n="9668baf922c27599cb23ccfd9945fc15bdb34f39359252e41026dcecdf45ec73/86" data-source="Instead of submitting create a series of shelved changelists. After creating each shelve, the relevant files are reverted/deleted. If you have multiple commits pending multiple shelves will be created." onmousemove="i18n(this)">&Vcy;&mcy;&iecy;&scy;&tcy;&ocy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&kcy;&icy; &scy;&ocy;&zcy;&dcy;&acy;&jcy;&tcy;&iecy; &scy;&iecy;&rcy;&icy;&yucy; &ocy;&tcy;&lcy;&ocy;&zhcy;&iecy;&ncy;&ncy;&ycy;&khcy; &scy;&pcy;&icy;&scy;&kcy;&ocy;&vcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&jcy;. &Pcy;&ocy;&scy;&lcy;&iecy; &scy;&ocy;&zcy;&dcy;&acy;&ncy;&icy;&yacy; &kcy;&acy;&zhcy;&dcy;&ocy;&jcy; &pcy;&ocy;&lcy;&kcy;&icy; &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&icy;&iecy; &fcy;&acy;&jcy;&lcy;&ycy; &vcy;&ocy;&scy;&scy;&tcy;&acy;&ncy;&acy;&vcy;&lcy;&icy;&vcy;&acy;&yucy;&tcy;&scy;&yacy;/&ucy;&dcy;&acy;&lcy;&yacy;&yucy;&tcy;&scy;&yacy;. &IEcy;&scy;&lcy;&icy; &ucy; &vcy;&acy;&scy; &iecy;&scy;&tcy;&softcy; &ncy;&iecy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ocy; &ocy;&zhcy;&icy;&dcy;&acy;&yucy;&shchcy;&icy;&khcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy;, &bcy;&ucy;&dcy;&iecy;&tcy; &scy;&ocy;&zcy;&dcy;&acy;&ncy;&ocy; &ncy;&iecy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ocy; &pcy;&ocy;&lcy;&ocy;&kcy;.</span></p> </dd> <dt id="Documentation/git-p4.txt---update-shelveCHANGELIST"><span data-i18n="fedf2e570f13a6b384563190f569e503c7ed15ebc5833f1eb0d6319adc77e44d/d0" data-source="--update-shelve CHANGELIST" onmousemove="i18n(this)">--update-shelve CHANGELIST</span></dt> <dd> <p><span data-i18n="9b21ce49ba3803e6f58f3155ef2d00f00c726078ebf2d5192eee02a137d70df0/fd" data-source="Update an existing shelved changelist with this commit. Implies --shelve. Repeat for multiple shelved changelists." onmousemove="i18n(this)">&Ocy;&bcy;&ncy;&ocy;&vcy;&icy;&tcy;&iecy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&icy;&jcy; &ocy;&tcy;&lcy;&ocy;&zhcy;&iecy;&ncy;&ncy;&ycy;&jcy; &scy;&pcy;&icy;&scy;&ocy;&kcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&jcy; &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy; &ecy;&tcy;&ocy;&gcy;&ocy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&acy;. &Pcy;&ocy;&dcy;&rcy;&acy;&zcy;&ucy;&mcy;&iecy;&vcy;&acy;&iecy;&tcy;&scy;&yacy; --shelve. &Pcy;&ocy;&vcy;&tcy;&ocy;&rcy;&icy;&tcy;&iecy; &ecy;&tcy;&icy; &dcy;&iecy;&jcy;&scy;&tcy;&vcy;&icy;&yacy; &dcy;&lcy;&yacy; &ncy;&iecy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&icy;&khcy; &ocy;&tcy;&lcy;&ocy;&zhcy;&iecy;&ncy;&ncy;&ycy;&khcy; &scy;&pcy;&icy;&scy;&kcy;&ocy;&vcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&jcy;.</span></p> </dd> <dt id="Documentation/git-p4.txt---conflictaskskipquit"><span data-i18n="c09bf338ed3d02af30b776a8072df4f8bbfdeb22876a0e19a75b45e08749aa26/c0" data-source="--conflict=(ask|skip|quit)" onmousemove="i18n(this)">--conflict=(ask|skip|quit)</span></dt> <dd> <p><span data-i18n="45b738873e7f01d1095add8a532efed9b771a770e6b7963317aae3a474c9408f/27" data-source="Conflicts can occur when applying a commit to p4. When this happens, the default behavior (&amp;quot;ask&amp;quot;) is to prompt whether to skip this commit and continue, or quit. This option can be used to bypass the prompt, causing conflicting commits to be automatically skipped, or to quit trying to apply commits, without prompting." onmousemove="i18n(this)">&Kcy;&ocy;&ncy;&fcy;&lcy;&icy;&kcy;&tcy;&ycy; &mcy;&ocy;&gcy;&ucy;&tcy; &vcy;&ocy;&zcy;&ncy;&icy;&kcy;&ncy;&ucy;&tcy;&softcy; &pcy;&rcy;&icy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&icy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy; &kcy; p4. &Vcy; &ecy;&tcy;&ocy;&mcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy; &pcy;&ocy;&vcy;&iecy;&dcy;&iecy;&ncy;&icy;&iecy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; ( &quot;ask&quot; ) &mdash; &zcy;&acy;&pcy;&rcy;&ocy;&scy; &ncy;&acy; &tcy;&ocy;, &pcy;&rcy;&ocy;&pcy;&ucy;&scy;&tcy;&icy;&tcy;&softcy; &ecy;&tcy;&ucy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&yucy; &icy; &pcy;&rcy;&ocy;&dcy;&ocy;&lcy;&zhcy;&icy;&tcy;&softcy; &icy;&lcy;&icy; &vcy;&ycy;&jcy;&tcy;&icy;. &Ecy;&tcy;&ucy; &ocy;&pcy;&tscy;&icy;&yucy; &mcy;&ocy;&zhcy;&ncy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &dcy;&lcy;&yacy; &ocy;&bcy;&khcy;&ocy;&dcy;&acy; &zcy;&acy;&pcy;&rcy;&ocy;&scy;&acy;, &chcy;&tcy;&ocy; &pcy;&rcy;&icy;&vcy;&iecy;&dcy;&iecy;&tcy; &kcy; &acy;&vcy;&tcy;&ocy;&mcy;&acy;&tcy;&icy;&chcy;&iecy;&scy;&kcy;&ocy;&mcy;&ucy; &pcy;&rcy;&ocy;&pcy;&ucy;&scy;&kcy;&ucy; &kcy;&ocy;&ncy;&fcy;&lcy;&icy;&kcy;&tcy;&ucy;&yucy;&shchcy;&icy;&khcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy;, &icy;&lcy;&icy; &dcy;&lcy;&yacy; &pcy;&rcy;&iecy;&kcy;&rcy;&acy;&shchcy;&iecy;&ncy;&icy;&yacy; &pcy;&ocy;&pcy;&ycy;&tcy;&ocy;&kcy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy; &bcy;&iecy;&zcy; &zcy;&acy;&pcy;&rcy;&ocy;&scy;&acy;.</span></p> </dd> <dt id="Documentation/git-p4.txt---branchltbranchgt"><span data-i18n="e8b5723fc47d2959eb2bc1706e8873be5615f93b0e18637e7d9629aa0baf6f78/d0" data-source="--branch &amp;lt;branch&amp;gt;" onmousemove="i18n(this)">--branch &lt;branch&gt;</span></dt> <dd> <p><span data-i18n="d38351196a0ba8f9156aabb03076789ec9a8c015acbd1c808f3802041f783895/86" data-source="After submitting, sync this named branch instead of the default p4/master. See the &amp;quot;Sync options&amp;quot; section above for more information." onmousemove="i18n(this)">&Pcy;&ocy;&scy;&lcy;&iecy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&kcy;&icy; &scy;&icy;&ncy;&khcy;&rcy;&ocy;&ncy;&icy;&zcy;&icy;&rcy;&ucy;&jcy;&tcy;&iecy; &ecy;&tcy;&ucy; &icy;&mcy;&iecy;&ncy;&ocy;&vcy;&acy;&ncy;&ncy;&ucy;&yucy; &vcy;&iecy;&tcy;&kcy;&ucy; &vcy;&mcy;&iecy;&scy;&tcy;&ocy; p4/master &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy;. &Dcy;&ocy;&pcy;&ocy;&lcy;&ncy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ucy;&yucy; &icy;&ncy;&fcy;&ocy;&rcy;&mcy;&acy;&tscy;&icy;&yucy; &scy;&mcy;. &vcy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&iecy;  &quot;Sync options&quot;  &vcy;&ycy;&shcy;&iecy;.</span></p> </dd> <dt id="Documentation/git-p4.txt---commitltsha1gtltsha1gtltsha1gt"><span data-i18n="ba7956efddacec90619bd0397050bf0f91bbc9c20781490da2787343e3b247fa/d0" data-source="--commit (&amp;lt;sha1&amp;gt;|&amp;lt;sha1&amp;gt;..&amp;lt;sha1&amp;gt;)" onmousemove="i18n(this)">--commit (&lt;sha1&gt;|&lt;sha1&gt;..&lt;sha1&gt;)</span></dt> <dd> <p><span data-i18n="44524d5a33541f3db26c8574febc4ca327ac66d37eac139610ffb4e8865facae/77" data-source="Submit only the specified commit or range of commits, instead of the full list of changes that are in the current Git branch." onmousemove="i18n(this)">&Ocy;&tcy;&pcy;&rcy;&acy;&vcy;&softcy;&tcy;&iecy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ncy;&ycy;&jcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy; &icy;&lcy;&icy; &dcy;&icy;&acy;&pcy;&acy;&zcy;&ocy;&ncy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy; &vcy;&mcy;&iecy;&scy;&tcy;&ocy; &pcy;&ocy;&lcy;&ncy;&ocy;&gcy;&ocy; &scy;&pcy;&icy;&scy;&kcy;&acy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&jcy;, &ncy;&acy;&khcy;&ocy;&dcy;&yacy;&shchcy;&icy;&khcy;&scy;&yacy; &vcy; &tcy;&iecy;&kcy;&ucy;&shchcy;&iecy;&jcy; &vcy;&iecy;&tcy;&kcy;&iecy;  Git .</span></p> </dd> <dt id="Documentation/git-p4.txt---disable-rebase"><span data-i18n="826d69857100f20d58a3f7cb786da1a4285eecdc05225fb17591fcc9d7448e8c/51" data-source="--disable-rebase" onmousemove="i18n(this)">--disable-rebase</span></dt> <dd> <p><span data-i18n="3cad48fef2a5d53cc777b1c3f773547f97fec2b265260a97ee0702433738886d/8f" data-source="Disable the automatic rebase after all commits have been successfully submitted. Can also be set with git-p4.disableRebase." onmousemove="i18n(this)">&Ocy;&tcy;&kcy;&lcy;&yucy;&chcy;&icy;&tcy;&iecy; &acy;&vcy;&tcy;&ocy;&mcy;&acy;&tcy;&icy;&chcy;&iecy;&scy;&kcy;&ocy;&iecy; &pcy;&iecy;&rcy;&iecy;&bcy;&acy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy; &pcy;&ocy;&scy;&lcy;&iecy; &ucy;&scy;&pcy;&iecy;&shcy;&ncy;&ocy;&jcy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&kcy;&icy; &vcy;&scy;&iecy;&khcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy;. &Tcy;&acy;&kcy;&zhcy;&iecy; &mcy;&ocy;&zhcy;&ncy;&ocy; &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&icy;&tcy;&softcy; &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy; git-p4.disableRebase.</span></p> </dd> <dt id="Documentation/git-p4.txt---disable-p4sync"><span data-i18n="c0f0e81b2a9272c4f5bc77d854840657cd5b4fad3fc2ff27f960597ea7d791e4/35" data-source="--disable-p4sync" onmousemove="i18n(this)">--disable-p4sync</span></dt> <dd> <p><span data-i18n="b0bb7b064a4c492e3ca211069056aa38b2465dff81c218d1f9d78936a7dc7be2/4d" data-source="Disable the automatic sync of p4/master from Perforce after commits have been submitted. Implies --disable-rebase. Can also be set with git-p4.disableP4Sync. Sync with origin/master still goes ahead if possible." onmousemove="i18n(this)">&Ocy;&tcy;&kcy;&lcy;&yucy;&chcy;&icy;&tcy;&iecy; &acy;&vcy;&tcy;&ocy;&mcy;&acy;&tcy;&icy;&chcy;&iecy;&scy;&kcy;&ucy;&yucy; &scy;&icy;&ncy;&khcy;&rcy;&ocy;&ncy;&icy;&zcy;&acy;&tscy;&icy;&yucy; p4/master &icy;&zcy; Perforce &pcy;&ocy;&scy;&lcy;&iecy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&kcy;&icy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy;. &Pcy;&ocy;&dcy;&rcy;&acy;&zcy;&ucy;&mcy;&iecy;&vcy;&acy;&iecy;&tcy;&scy;&yacy; --disable-rebase. &Tcy;&acy;&kcy;&zhcy;&iecy; &mcy;&ocy;&zhcy;&ncy;&ocy; &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&icy;&tcy;&softcy; &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy; git-p4.disableP4Sync. &Scy;&icy;&ncy;&khcy;&rcy;&ocy;&ncy;&icy;&zcy;&acy;&tscy;&icy;&yacy; &scy; &icy;&scy;&tcy;&ocy;&chcy;&ncy;&icy;&kcy;&ocy;&mcy;/&mcy;&acy;&scy;&tcy;&iecy;&rcy;&ocy;&mcy; &pcy;&ocy;-&pcy;&rcy;&iecy;&zhcy;&ncy;&iecy;&mcy;&ucy; &pcy;&rcy;&ocy;&dcy;&ocy;&lcy;&zhcy;&acy;&iecy;&tcy;&scy;&yacy;, &iecy;&scy;&lcy;&icy; &ecy;&tcy;&ocy; &vcy;&ocy;&zcy;&mcy;&ocy;&zhcy;&ncy;&ocy;.</span></p> </dd> </dl> </div> </div> </div> <h2 class="text-body-emphasis"  id="_hooks_for_submit"><span data-i18n="96c7f23d6bab986beb856cc5509598fa839c88690e2481823ee7a7a6101a1dc3/a4" data-source="Hooks for submit" onmousemove="i18n(this)">&Kcy;&rcy;&yucy;&chcy;&kcy;&icy; &dcy;&lcy;&yacy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&kcy;&icy;</span></h2> <div> <div> <h3 class="text-body-emphasis"  id="_p4_pre_submit"><span data-i18n="f9a2db9aa7e62080e98c1cd299e262142b74164009771ea11682d59390f85e9c/40" data-source="p4-pre-submit" onmousemove="i18n(this)">p4-pre-submit</span></h3> <p><span data-i18n="0ae0d1e559496402e7f9d4f64a525c06c9fb48ef23322533621cf5f521de0ffc/aa" data-source="The &lt;code&gt;p4-pre-submit&lt;/code&gt; hook is executed if it exists and is executable. The hook takes no parameters and nothing from standard input. Exiting with non-zero status from this script prevents &lt;code&gt;git-p4 submit&lt;/code&gt; from launching. It can be bypassed with the &lt;code&gt;--no-verify&lt;/code&gt; command line option." onmousemove="i18n(this)">&Pcy;&iecy;&rcy;&iecy;&khcy;&vcy;&acy;&tcy;&chcy;&icy;&kcy;  <code>p4-pre-submit</code>  &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&yacy;&iecy;&tcy;&scy;&yacy;, &iecy;&scy;&lcy;&icy; &ocy;&ncy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy; &icy; &yacy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &icy;&scy;&pcy;&ocy;&lcy;&ncy;&yacy;&iecy;&mcy;&ycy;&mcy;. &KHcy;&ucy;&kcy; &ncy;&iecy; &pcy;&rcy;&icy;&ncy;&icy;&mcy;&acy;&iecy;&tcy; &ncy;&icy;&kcy;&acy;&kcy;&icy;&khcy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy;&ocy;&vcy; &icy; &ncy;&icy;&chcy;&iecy;&gcy;&ocy; &icy;&zcy; &scy;&tcy;&acy;&ncy;&dcy;&acy;&rcy;&tcy;&ncy;&ocy;&gcy;&ocy; &vcy;&vcy;&ocy;&dcy;&acy;. &Vcy;&ycy;&khcy;&ocy;&dcy; &icy;&zcy; &ecy;&tcy;&ocy;&gcy;&ocy; &scy;&tscy;&iecy;&ncy;&acy;&rcy;&icy;&yacy; &scy; &ncy;&iecy;&ncy;&ucy;&lcy;&iecy;&vcy;&ycy;&mcy; &scy;&tcy;&acy;&tcy;&ucy;&scy;&ocy;&mcy; &pcy;&rcy;&iecy;&dcy;&ocy;&tcy;&vcy;&rcy;&acy;&shchcy;&acy;&iecy;&tcy; &zcy;&acy;&pcy;&ucy;&scy;&kcy;  <code>git-p4 submit</code> . &IEcy;&gcy;&ocy; &mcy;&ocy;&zhcy;&ncy;&ocy; &ocy;&bcy;&ocy;&jcy;&tcy;&icy; &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy;&acy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ncy;&ocy;&jcy; &scy;&tcy;&rcy;&ocy;&kcy;&icy;  <code>--no-verify</code> .</span></p> <p><span data-i18n="7eebd6d7894d9e80465ac81f8ea51b98e2486071ee286d06a7a43fe8fc80e843/af" data-source="One usage scenario is to run unit tests in the hook." onmousemove="i18n(this)">&Ocy;&dcy;&icy;&ncy; &icy;&zcy; &scy;&tscy;&iecy;&ncy;&acy;&rcy;&icy;&iecy;&vcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &mdash; &zcy;&acy;&pcy;&ucy;&scy;&kcy; &mcy;&ocy;&dcy;&ucy;&lcy;&softcy;&ncy;&ycy;&khcy; &tcy;&iecy;&scy;&tcy;&ocy;&vcy; &vcy; &pcy;&iecy;&rcy;&iecy;&khcy;&vcy;&acy;&tcy;&chcy;&icy;&kcy;&iecy;.</span></p> </div> <div> <h3 class="text-body-emphasis"  id="_p4_prepare_changelist"><span data-i18n="67a1b0e5e0a754b5aac95e7c3759a415388ef0bc1787a61589a73208e64eb326/ef" data-source="p4-prepare-changelist" onmousemove="i18n(this)">p4-prepare-changelist</span></h3> <p><span data-i18n="f8447fceb727fd96a75d0e0aa46ddce98843841ff93e9c9590b8ab1da295385a/24" data-source="The &lt;code&gt;p4-prepare-changelist&lt;/code&gt; hook is executed right after preparing the default changelist message and before the editor is started. It takes one parameter, the name of the file that contains the changelist text. Exiting with a non-zero status from the script will abort the process." onmousemove="i18n(this)">&Pcy;&iecy;&rcy;&iecy;&khcy;&vcy;&acy;&tcy;&chcy;&icy;&kcy;  <code>p4-prepare-changelist</code>  &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&yacy;&iecy;&tcy;&scy;&yacy; &scy;&rcy;&acy;&zcy;&ucy; &pcy;&ocy;&scy;&lcy;&iecy; &pcy;&ocy;&dcy;&gcy;&ocy;&tcy;&ocy;&vcy;&kcy;&icy; &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&yacy; &scy;&pcy;&icy;&scy;&kcy;&acy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&jcy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &icy; &pcy;&iecy;&rcy;&iecy;&dcy; &zcy;&acy;&pcy;&ucy;&scy;&kcy;&ocy;&mcy; &rcy;&iecy;&dcy;&acy;&kcy;&tcy;&ocy;&rcy;&acy;. &Ocy;&ncy; &pcy;&rcy;&icy;&ncy;&icy;&mcy;&acy;&iecy;&tcy; &ocy;&dcy;&icy;&ncy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy; &mdash; &icy;&mcy;&yacy; &fcy;&acy;&jcy;&lcy;&acy;, &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&acy;&shchcy;&iecy;&gcy;&ocy; &tcy;&iecy;&kcy;&scy;&tcy; &scy;&pcy;&icy;&scy;&kcy;&acy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&jcy;. &Vcy;&ycy;&khcy;&ocy;&dcy; &icy;&zcy; &scy;&tscy;&iecy;&ncy;&acy;&rcy;&icy;&yacy; &scy; &ncy;&iecy;&ncy;&ucy;&lcy;&iecy;&vcy;&ycy;&mcy; &scy;&tcy;&acy;&tcy;&ucy;&scy;&ocy;&mcy; &pcy;&rcy;&icy;&vcy;&iecy;&dcy;&iecy;&tcy; &kcy; &pcy;&rcy;&iecy;&rcy;&ycy;&vcy;&acy;&ncy;&icy;&yucy; &pcy;&rcy;&ocy;&tscy;&iecy;&scy;&scy;&acy;.</span></p> <p><span data-i18n="464da88b70df71414bdb57f0b3c270a358e9e71c8b11518b23adf614ed139d3f/da" data-source="The purpose of the hook is to edit the message file in place, and it is not suppressed by the &lt;code&gt;--no-verify&lt;/code&gt; option. This hook is called even if &lt;code&gt;--prepare-p4-only&lt;/code&gt; is set." onmousemove="i18n(this)">&TScy;&iecy;&lcy;&softcy;&yucy; &pcy;&iecy;&rcy;&iecy;&khcy;&vcy;&acy;&tcy;&chcy;&icy;&kcy;&acy; &yacy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &rcy;&iecy;&dcy;&acy;&kcy;&tcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy; &fcy;&acy;&jcy;&lcy;&acy; &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&yacy; &ncy;&acy; &mcy;&iecy;&scy;&tcy;&iecy;, &icy; &ocy;&ncy;&ocy; &ncy;&iecy; &pcy;&ocy;&dcy;&acy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &ocy;&pcy;&tscy;&icy;&iecy;&jcy;  <code>--no-verify</code> . &Ecy;&tcy;&ocy;&tcy; &khcy;&ucy;&kcy; &vcy;&ycy;&zcy;&ycy;&vcy;&acy;&iecy;&tcy;&scy;&yacy;, &dcy;&acy;&zhcy;&iecy; &iecy;&scy;&lcy;&icy; &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;  <code>--prepare-p4-only</code> .</span></p> </div> <div> <h3 class="text-body-emphasis"  id="_p4_changelist"><span data-i18n="f6b69071c2b25315a98fa8b888704c6f7652fa9300e84c548984c87df4c5e1bb/94" data-source="p4-changelist" onmousemove="i18n(this)">p4-changelist</span></h3> <p><span data-i18n="c71aea29bb9f30581a18c83fbd349b52c9397c8226fe5ebca4249b209f06720a/64" data-source="The &lt;code&gt;p4-changelist&lt;/code&gt; hook is executed after the changelist message has been edited by the user. It can be bypassed with the &lt;code&gt;--no-verify&lt;/code&gt; option. It takes a single parameter, the name of the file that holds the proposed changelist text. Exiting with a non-zero status causes the command to abort." onmousemove="i18n(this)">&Pcy;&iecy;&rcy;&iecy;&khcy;&vcy;&acy;&tcy;  <code>p4-changelist</code>  &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&yacy;&iecy;&tcy;&scy;&yacy; &pcy;&ocy;&scy;&lcy;&iecy; &tcy;&ocy;&gcy;&ocy;, &kcy;&acy;&kcy; &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&iecy; &scy;&pcy;&icy;&scy;&kcy;&acy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&jcy; &bcy;&ycy;&lcy;&ocy; &ocy;&tcy;&rcy;&iecy;&dcy;&acy;&kcy;&tcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ocy; &pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&iecy;&lcy;&iecy;&mcy;. &IEcy;&gcy;&ocy; &mcy;&ocy;&zhcy;&ncy;&ocy; &ocy;&bcy;&ocy;&jcy;&tcy;&icy; &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy; &ocy;&pcy;&tscy;&icy;&icy;  <code>--no-verify</code> . &Ocy;&ncy; &pcy;&rcy;&icy;&ncy;&icy;&mcy;&acy;&iecy;&tcy; &iecy;&dcy;&icy;&ncy;&scy;&tcy;&vcy;&iecy;&ncy;&ncy;&ycy;&jcy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy; &mdash; &icy;&mcy;&yacy; &fcy;&acy;&jcy;&lcy;&acy;, &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&acy;&shchcy;&iecy;&gcy;&ocy; &pcy;&rcy;&iecy;&dcy;&lcy;&acy;&gcy;&acy;&iecy;&mcy;&ycy;&jcy; &tcy;&iecy;&kcy;&scy;&tcy; &scy;&pcy;&icy;&scy;&kcy;&acy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&jcy;. &Vcy;&ycy;&khcy;&ocy;&dcy; &scy; &ncy;&iecy;&ncy;&ucy;&lcy;&iecy;&vcy;&ycy;&mcy; &scy;&tcy;&acy;&tcy;&ucy;&scy;&ocy;&mcy; &pcy;&rcy;&icy;&vcy;&ocy;&dcy;&icy;&tcy; &kcy; &pcy;&rcy;&iecy;&rcy;&ycy;&vcy;&acy;&ncy;&icy;&yucy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ycy;.</span></p> <p><span data-i18n="dc727e2b6ce4e102c617c3657abc4978ba9c62729faba9a80302832462295ec7/16" data-source="The hook is allowed to edit the changelist file and can be used to normalize the text into some project standard format. It can also be used to refuse the Submit after inspect the message file." onmousemove="i18n(this)">&KHcy;&ucy;&kcy; &pcy;&ocy;&zcy;&vcy;&ocy;&lcy;&yacy;&iecy;&tcy; &rcy;&iecy;&dcy;&acy;&kcy;&tcy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy; &fcy;&acy;&jcy;&lcy; &scy;&pcy;&icy;&scy;&kcy;&acy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&jcy; &icy; &mcy;&ocy;&zhcy;&iecy;&tcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy;&scy;&yacy; &dcy;&lcy;&yacy; &ncy;&ocy;&rcy;&mcy;&acy;&lcy;&icy;&zcy;&acy;&tscy;&icy;&icy; &tcy;&iecy;&kcy;&scy;&tcy;&acy; &vcy; &kcy;&acy;&kcy;&ocy;&mcy;-&lcy;&icy;&bcy;&ocy; &scy;&tcy;&acy;&ncy;&dcy;&acy;&rcy;&tcy;&ncy;&ocy;&mcy; &fcy;&ocy;&rcy;&mcy;&acy;&tcy;&iecy; &pcy;&rcy;&ocy;&iecy;&kcy;&tcy;&acy;. &IEcy;&gcy;&ocy; &tcy;&acy;&kcy;&zhcy;&iecy; &mcy;&ocy;&zhcy;&ncy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &dcy;&lcy;&yacy; &ocy;&tcy;&kcy;&acy;&zcy;&acy; &vcy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&kcy;&iecy; &pcy;&ocy;&scy;&lcy;&iecy; &pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&kcy;&icy; &fcy;&acy;&jcy;&lcy;&acy; &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&yacy;.</span></p> </div> <div> <h3 class="text-body-emphasis"  id="_p4_post_changelist"><span data-i18n="cb53cbae723c5d9335a4c1afc84d575721950381b92352026984ea5df460d520/11" data-source="p4-post-changelist" onmousemove="i18n(this)">p4-post-changelist</span></h3> <p><span data-i18n="4b8ca133004e3c162517e999879775fb8a3a28da842484e30a7fb361bea102a4/cd" data-source="The &lt;code&gt;p4-post-changelist&lt;/code&gt; hook is invoked after the submit has successfully occurred in P4. It takes no parameters and is meant primarily for notification and cannot affect the outcome of the git p4 submit action." onmousemove="i18n(this)">&Pcy;&iecy;&rcy;&iecy;&khcy;&vcy;&acy;&tcy;&chcy;&icy;&kcy;  <code>p4-post-changelist</code>  &vcy;&ycy;&zcy;&ycy;&vcy;&acy;&iecy;&tcy;&scy;&yacy; &pcy;&ocy;&scy;&lcy;&iecy; &ucy;&scy;&pcy;&iecy;&shcy;&ncy;&ocy;&jcy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&kcy;&icy; &vcy; P4. &Ocy;&ncy; &ncy;&iecy; &pcy;&rcy;&icy;&ncy;&icy;&mcy;&acy;&iecy;&tcy; &ncy;&icy;&kcy;&acy;&kcy;&icy;&khcy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy;&ocy;&vcy; &icy; &pcy;&rcy;&iecy;&dcy;&ncy;&acy;&zcy;&ncy;&acy;&chcy;&iecy;&ncy; &vcy; &pcy;&iecy;&rcy;&vcy;&ucy;&yucy; &ocy;&chcy;&iecy;&rcy;&iecy;&dcy;&softcy; &dcy;&lcy;&yacy; &ucy;&vcy;&iecy;&dcy;&ocy;&mcy;&lcy;&iecy;&ncy;&icy;&yacy; &icy; &ncy;&iecy; &mcy;&ocy;&zhcy;&iecy;&tcy; &pcy;&ocy;&vcy;&lcy;&icy;&yacy;&tcy;&softcy; &ncy;&acy; &rcy;&iecy;&zcy;&ucy;&lcy;&softcy;&tcy;&acy;&tcy; &dcy;&iecy;&jcy;&scy;&tcy;&vcy;&icy;&yacy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&kcy;&icy;  git  p4.</span></p> </div> <div> <h3 class="text-body-emphasis"  id="_rebase_options"><span data-i18n="56652c5d7acd1957e92866230f6a9988d232cda5595b49476232614ee5192f0f/1d" data-source="Rebase options" onmousemove="i18n(this)">Rebase options</span></h3> <p><span data-i18n="c69f1c21a28130f793aa9fdc16a78312598575c795a1de5b6aff519662a9f3f6/41" data-source="These options can be used to modify &lt;code&gt;git p4 rebase&lt;/code&gt; behavior." onmousemove="i18n(this)">&Ecy;&tcy;&icy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy;&ycy; &mcy;&ocy;&zhcy;&ncy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &dcy;&lcy;&yacy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &pcy;&ocy;&vcy;&iecy;&dcy;&iecy;&ncy;&icy;&yacy;  <code>git p4 rebase</code> .</span></p> <div> <dl> <dt id="Documentation/git-p4.txt---import-labels-1"><span data-i18n="973c61bb8a87a1d1ebc49a0f59dabb3cb955aa90f0294764424e16e27599bfbf/3b" data-source="--import-labels" onmousemove="i18n(this)">--import-labels</span></dt> <dd> <p><span data-i18n="0dd7dbb7705082a9b8e4110390ef3d6a7387cc0ef98b6f0149d0662f80d00806/44" data-source="Import p4 labels." onmousemove="i18n(this)">&Icy;&mcy;&pcy;&ocy;&rcy;&tcy;&icy;&rcy;&ucy;&jcy;&tcy;&iecy; &ecy;&tcy;&icy;&kcy;&iecy;&tcy;&kcy;&icy; p4.</span></p> </dd> </dl> </div> </div> <div> <h3 class="text-body-emphasis"  id="_unshelve_options"><span data-i18n="4cbb302a532342371984d86b225b2125ab14cbd82c8eaaabaee0f3509a6c4c63/19" data-source="Unshelve options" onmousemove="i18n(this)">Unshelve options</span></h3> <div> <dl> <dt id="Documentation/git-p4.txt---origin"><span data-i18n="82d40680a4726241b58f3b323ab3756e5a95c0930d7fd50a4fdecb69338d95ad/92" data-source="--origin" onmousemove="i18n(this)">--origin</span></dt> <dd> <p><span data-i18n="0e0a23d1e986cf76ff4432d550e29d8fbd68d0010c8b7a4118644900e4bb2b4c/9e" data-source="Sets the git refspec against which the shelved P4 changelist is compared. Defaults to p4/master." onmousemove="i18n(this)">&Ucy;&scy;&tcy;&acy;&ncy;&acy;&vcy;&lcy;&icy;&vcy;&acy;&iecy;&tcy; &icy;&scy;&khcy;&ocy;&dcy;&ncy;&ucy;&yucy; &scy;&pcy;&iecy;&tscy;&icy;&fcy;&icy;&kcy;&acy;&tscy;&icy;&yucy;  git , &scy; &kcy;&ocy;&tcy;&ocy;&rcy;&ocy;&jcy; &scy;&rcy;&acy;&vcy;&ncy;&icy;&vcy;&acy;&iecy;&tcy;&scy;&yacy; &ocy;&tcy;&lcy;&ocy;&zhcy;&iecy;&ncy;&ncy;&ycy;&jcy; &scy;&pcy;&icy;&scy;&ocy;&kcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&jcy; P4. &Pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; p4/master.</span></p> </dd> </dl> </div> </div> </div> <h2 class="text-body-emphasis"  id="_depot_path_syntax"><span data-i18n="8ffdaed55fb1e08a999f338f013ffb8cf44684bc8050c5f7dfdb3d8d1e447c56/e5" data-source="Depot path syntax" onmousemove="i18n(this)">&Scy;&icy;&ncy;&tcy;&acy;&kcy;&scy;&icy;&scy; &pcy;&ucy;&tcy;&icy; &kcy; &dcy;&iecy;&pcy;&ocy;</span></h2> <div> <p><span data-i18n="c55e20be9799fc152a2412663ef10f300ed79e6f6dcb24843d6cf4f364cd40fa/a1" data-source="The p4 depot path argument to &lt;code&gt;git p4 sync&lt;/code&gt; and &lt;code&gt;git p4 clone&lt;/code&gt; can be one or more space-separated p4 depot paths, with an optional p4 revision specifier on the end:" onmousemove="i18n(this)">&Acy;&rcy;&gcy;&ucy;&mcy;&iecy;&ncy;&tcy; &pcy;&ucy;&tcy;&icy; &kcy; &khcy;&rcy;&acy;&ncy;&icy;&lcy;&icy;&shchcy;&ucy; p4 &dcy;&lcy;&yacy;  <code>git p4 sync</code>  &icy;  <code>git p4 clone</code>  &mcy;&ocy;&zhcy;&iecy;&tcy; &pcy;&rcy;&iecy;&dcy;&scy;&tcy;&acy;&vcy;&lcy;&yacy;&tcy;&softcy; &scy;&ocy;&bcy;&ocy;&jcy; &ocy;&dcy;&icy;&ncy; &icy;&lcy;&icy; &ncy;&iecy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ocy; &pcy;&ucy;&tcy;&iecy;&jcy; &kcy; &khcy;&rcy;&acy;&ncy;&icy;&lcy;&icy;&shchcy;&ucy; p4, &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&iecy;&ncy;&ncy;&ycy;&khcy; &pcy;&rcy;&ocy;&bcy;&iecy;&lcy;&acy;&mcy;&icy;, &scy; &ncy;&iecy;&ocy;&bcy;&yacy;&zcy;&acy;&tcy;&iecy;&lcy;&softcy;&ncy;&ycy;&mcy; &scy;&pcy;&iecy;&tscy;&icy;&fcy;&icy;&kcy;&acy;&tcy;&ocy;&rcy;&ocy;&mcy; &vcy;&iecy;&rcy;&scy;&icy;&icy; p4 &vcy; &kcy;&ocy;&ncy;&tscy;&iecy;:</span></p> <div> <dl> <dt id="Documentation/git-p4.txt-depotmyproject"><span data-i18n="abfa3f1786e128ec31aae8991e4547b0cb0ccc7340349ab2f8ecf71ea35ef7de/49" data-source="&amp;quot;//depot/my/project&amp;quot;" onmousemove="i18n(this)">&quot;//depot/my/project&quot;</span></dt> <dd> <p><span data-i18n="d5939e066d8e78199f9f91d59db5e8db69669907bf179ea8d90c9fe70690b487/29" data-source="Import one commit with all files in the &lt;code&gt;#head&lt;/code&gt; change under that tree." onmousemove="i18n(this)">&Icy;&mcy;&pcy;&ocy;&rcy;&tcy;&icy;&rcy;&ucy;&jcy;&tcy;&iecy; &ocy;&dcy;&icy;&ncy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy; &scy;&ocy; &vcy;&scy;&iecy;&mcy;&icy; &fcy;&acy;&jcy;&lcy;&acy;&mcy;&icy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy;  <code>#head</code>  &vcy; &ecy;&tcy;&ocy;&mcy; &dcy;&iecy;&rcy;&iecy;&vcy;&iecy;.</span></p> </dd> <dt id="Documentation/git-p4.txt-depotmyprojectall"><span data-i18n="52b4d3476b4277188a226867ed688cb76e2b326edb16c56b3e892a2a1aa6e087/5e" data-source="&amp;quot;//depot/my/project@all&amp;quot;" onmousemove="i18n(this)">&quot;//depot/my/project@all&quot;</span></dt> <dd> <p><span data-i18n="f06fa3445e41ca1e1f807d45a4d9bcc42ca535fd6bda9f2531d2d588cc211daa/a0" data-source="Import one commit for each change in the history of that depot path." onmousemove="i18n(this)">&Icy;&mcy;&pcy;&ocy;&rcy;&tcy;&icy;&rcy;&ucy;&jcy;&tcy;&iecy; &ocy;&dcy;&icy;&ncy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy; &dcy;&lcy;&yacy; &kcy;&acy;&zhcy;&dcy;&ocy;&gcy;&ocy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &vcy; &icy;&scy;&tcy;&ocy;&rcy;&icy;&icy; &ecy;&tcy;&ocy;&gcy;&ocy; &pcy;&ucy;&tcy;&icy; &kcy; &dcy;&iecy;&pcy;&ocy;.</span></p> </dd> <dt id="Documentation/git-p4.txt-depotmyproject16"><span data-i18n="97c4d168fde7deec63f2f51c740828bd0cb4a374ff24f91b54e24cc7c20880a2/53" data-source="&amp;quot;//depot/my/project@1,6&amp;quot;" onmousemove="i18n(this)">&quot;//depot/my/project@1,6&quot;</span></dt> <dd> <p><span data-i18n="350af9f6a8e3c93fe8ad5b9710a3073c571f8a9c68c5eb72b95b36899916e80d/ba" data-source="Import only changes 1 through 6." onmousemove="i18n(this)">&Icy;&mcy;&pcy;&ocy;&rcy;&tcy;&icy;&rcy;&ucy;&jcy;&tcy;&iecy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &scy; 1 &pcy;&ocy; 6.</span></p> </dd> <dt id="Documentation/git-p4.txt-depotproj1alldepotproj2all"><span data-i18n="49b65d79afab54e1b974cd69daeea0bf9c8124a42460e20e42c7b5ed70826990/5f" data-source="&amp;quot;//depot/proj1@all //depot/proj2@all&amp;quot;" onmousemove="i18n(this)">&quot;//depot/proj1@all //depot/proj2@all&quot;</span></dt> <dd> <p><span data-i18n="7d7ee1b6413f004c6bc32310e9ab88fa4b81c74312af5b13ffca8a504669b4cd/fc" data-source="Import all changes from both named depot paths into a single repository. Only files below these directories are included. There is not a subdirectory in Git for each &amp;quot;proj1&amp;quot; and &amp;quot;proj2&amp;quot;. You must use the &lt;code&gt;--destination&lt;/code&gt; option when specifying more than one depot path. The revision specifier must be specified identically on each depot path. If there are files in the depot paths with the same name, the path with the most recently updated version of the file is the one that appears in Git." onmousemove="i18n(this)">&Icy;&mcy;&pcy;&ocy;&rcy;&tcy;&icy;&rcy;&ucy;&jcy;&tcy;&iecy; &vcy;&scy;&iecy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &icy;&zcy; &ocy;&bcy;&ocy;&icy;&khcy; &icy;&mcy;&iecy;&ncy;&ocy;&vcy;&acy;&ncy;&ncy;&ycy;&khcy; &pcy;&ucy;&tcy;&iecy;&jcy; &kcy; &khcy;&rcy;&acy;&ncy;&icy;&lcy;&icy;&shchcy;&ucy; &vcy; &ocy;&dcy;&icy;&ncy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy;. &Vcy;&kcy;&lcy;&yucy;&chcy;&acy;&yucy;&tcy;&scy;&yacy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &fcy;&acy;&jcy;&lcy;&ycy;, &rcy;&acy;&scy;&pcy;&ocy;&lcy;&ocy;&zhcy;&iecy;&ncy;&ncy;&ycy;&iecy; &ncy;&icy;&zhcy;&iecy; &ecy;&tcy;&icy;&khcy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&ocy;&vcy;. &Vcy;  Git  &ncy;&iecy;&tcy; &pcy;&ocy;&dcy;&kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&acy; &dcy;&lcy;&yacy; &kcy;&acy;&zhcy;&dcy;&ocy;&gcy;&ocy;  &quot;proj1&quot;  &icy;  &quot;proj2&quot; . &Vcy;&ycy; &dcy;&ocy;&lcy;&zhcy;&ncy;&ycy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &ocy;&pcy;&tscy;&icy;&yucy;  <code>--destination</code>  &pcy;&rcy;&icy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&icy;&icy; &bcy;&ocy;&lcy;&iecy;&iecy; &ocy;&dcy;&ncy;&ocy;&gcy;&ocy; &pcy;&ucy;&tcy;&icy; &kcy; &dcy;&iecy;&pcy;&ocy;. &Scy;&pcy;&iecy;&tscy;&icy;&fcy;&icy;&kcy;&acy;&tcy;&ocy;&rcy; &rcy;&iecy;&dcy;&acy;&kcy;&tscy;&icy;&icy; &dcy;&ocy;&lcy;&zhcy;&iecy;&ncy; &bcy;&ycy;&tcy;&softcy; &ucy;&kcy;&acy;&zcy;&acy;&ncy; &ocy;&dcy;&icy;&ncy;&acy;&kcy;&ocy;&vcy;&ocy; &dcy;&lcy;&yacy; &kcy;&acy;&zhcy;&dcy;&ocy;&gcy;&ocy; &pcy;&ucy;&tcy;&icy; &khcy;&rcy;&acy;&ncy;&icy;&lcy;&icy;&shchcy;&acy;. &IEcy;&scy;&lcy;&icy; &vcy; &pcy;&ucy;&tcy;&yacy;&khcy; &khcy;&rcy;&acy;&ncy;&icy;&lcy;&icy;&shchcy;&acy; &iecy;&scy;&tcy;&softcy; &fcy;&acy;&jcy;&lcy;&ycy; &scy; &tcy;&acy;&kcy;&icy;&mcy; &zhcy;&iecy; &icy;&mcy;&iecy;&ncy;&iecy;&mcy;, &pcy;&ucy;&tcy;&softcy; &scy; &pcy;&ocy;&scy;&lcy;&iecy;&dcy;&ncy;&iecy;&jcy; &ocy;&bcy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&ncy;&ocy;&jcy; &vcy;&iecy;&rcy;&scy;&icy;&iecy;&jcy; &fcy;&acy;&jcy;&lcy;&acy; &mdash; &ecy;&tcy;&ocy; &tcy;&ocy;&tcy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&jcy; &ocy;&tcy;&ocy;&bcy;&rcy;&acy;&zhcy;&acy;&iecy;&tcy;&scy;&yacy; &vcy;  Git  .</span></p> </dd> </dl> </div> <p><span data-i18n="491ce4b024f022d857343c8877e305b35caadefce8148232e5431c8b497a82b4/0d" data-source="See &lt;code&gt;p4 help revisions&lt;/code&gt; for the full syntax of p4 revision specifiers." onmousemove="i18n(this)">&Pcy;&ocy;&lcy;&ncy;&ycy;&jcy; &scy;&icy;&ncy;&tcy;&acy;&kcy;&scy;&icy;&scy; &scy;&pcy;&iecy;&tscy;&icy;&fcy;&icy;&kcy;&acy;&tcy;&ocy;&rcy;&ocy;&vcy; &vcy;&iecy;&rcy;&scy;&icy;&icy; p4 &scy;&mcy;. &vcy;  <code>p4 help revisions</code> .</span></p> </div> <h2 class="text-body-emphasis"  id="_client_spec"><span data-i18n="615518de343a1ad9c9d027e4c5aff15a366a0b980c9b462c9a6752dfc1c4c478/41" data-source="Client spec" onmousemove="i18n(this)">Client spec</span></h2> <div> <p><span data-i18n="5882eb40bbd103e29241d2139ef50e0086d220b9778f927f70979c0c6bad05b9/cd" data-source="The p4 client specification is maintained with the &lt;code&gt;p4 client&lt;/code&gt; command and contains among other fields, a View that specifies how the depot is mapped into the client repository. The &lt;code&gt;clone&lt;/code&gt; and &lt;code&gt;sync&lt;/code&gt; commands can consult the client spec when given the &lt;code&gt;--use-client-spec&lt;/code&gt; option or when the useClientSpec variable is true. After &lt;code&gt;git p4 clone&lt;/code&gt;, the useClientSpec variable is automatically set in the repository configuration file. This allows future &lt;code&gt;git p4 submit&lt;/code&gt; commands to work properly; the submit command looks only at the variable and does not have a command-line option." onmousemove="i18n(this)">&Scy;&pcy;&iecy;&tscy;&icy;&fcy;&icy;&kcy;&acy;&tscy;&icy;&yacy; &kcy;&lcy;&icy;&iecy;&ncy;&tcy;&acy; p4 &pcy;&ocy;&dcy;&dcy;&iecy;&rcy;&zhcy;&icy;&vcy;&acy;&iecy;&tcy;&scy;&yacy; &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ycy;  <code>p4 client</code>  &icy; &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&icy;&tcy;, &pcy;&ocy;&mcy;&icy;&mcy;&ocy; &dcy;&rcy;&ucy;&gcy;&icy;&khcy; &pcy;&ocy;&lcy;&iecy;&jcy;, &pcy;&rcy;&iecy;&dcy;&scy;&tcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&iecy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ocy;&iecy; &ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&yacy;&iecy;&tcy;, &kcy;&acy;&kcy; &khcy;&rcy;&acy;&ncy;&icy;&lcy;&icy;&shchcy;&iecy; &ocy;&tcy;&ocy;&bcy;&rcy;&acy;&zhcy;&acy;&iecy;&tcy;&scy;&yacy; &vcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy; &kcy;&lcy;&icy;&iecy;&ncy;&tcy;&acy;. &Kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ycy;  <code>clone</code>  &icy;  <code>sync</code>  &mcy;&ocy;&gcy;&ucy;&tcy; &ocy;&bcy;&rcy;&acy;&shchcy;&acy;&tcy;&softcy;&scy;&yacy; &kcy; &scy;&pcy;&iecy;&tscy;&icy;&fcy;&icy;&kcy;&acy;&tscy;&icy;&icy; &kcy;&lcy;&icy;&iecy;&ncy;&tcy;&acy;, &iecy;&scy;&lcy;&icy; &zcy;&acy;&dcy;&acy;&ncy;&acy; &ocy;&pcy;&tscy;&icy;&yacy;  <code>--use-client-spec</code>  &icy;&lcy;&icy; &kcy;&ocy;&gcy;&dcy;&acy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&acy;&yacy; useClientSpec &icy;&mcy;&iecy;&iecy;&tcy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy; true. &Pcy;&ocy;&scy;&lcy;&iecy;  <code>git p4 clone</code>  &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&acy;&yacy; useClientSpec &acy;&vcy;&tcy;&ocy;&mcy;&acy;&tcy;&icy;&chcy;&iecy;&scy;&kcy;&icy; &ucy;&scy;&tcy;&acy;&ncy;&acy;&vcy;&lcy;&icy;&vcy;&acy;&iecy;&tcy;&scy;&yacy; &vcy; &fcy;&acy;&jcy;&lcy;&iecy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yacy;. &Ecy;&tcy;&ocy; &pcy;&ocy;&zcy;&vcy;&ocy;&lcy;&icy;&tcy; &bcy;&ucy;&dcy;&ucy;&shchcy;&icy;&mcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&acy;&mcy;  <code>git p4 submit</code>  &rcy;&acy;&bcy;&ocy;&tcy;&acy;&tcy;&softcy; &pcy;&rcy;&acy;&vcy;&icy;&lcy;&softcy;&ncy;&ocy;; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&acy; submit &pcy;&rcy;&ocy;&scy;&mcy;&acy;&tcy;&rcy;&icy;&vcy;&acy;&iecy;&tcy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ucy;&yucy; &icy; &ncy;&iecy; &icy;&mcy;&iecy;&iecy;&tcy; &ocy;&pcy;&tscy;&icy;&icy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ncy;&ocy;&jcy; &scy;&tcy;&rcy;&ocy;&kcy;&icy;.</span></p> <p><span data-i18n="2c2c7d6ec179f0297b395b6448160405d6ec2884ff1953de660375b71d754f5e/4f" data-source="The full syntax for a p4 view is documented in &lt;code&gt;p4 help views&lt;/code&gt;. &lt;code&gt;git p4&lt;/code&gt; knows only a subset of the view syntax. It understands multi-line mappings, overlays with &lt;code&gt;+&lt;/code&gt;, exclusions with &lt;code&gt;-&lt;/code&gt; and double-quotes around whitespace. Of the possible wildcards, &lt;code&gt;git p4&lt;/code&gt; only handles &lt;code&gt;&amp;hellip;&amp;ZeroWidthSpace;&lt;/code&gt;, and only when it is at the end of the path. &lt;code&gt;git p4&lt;/code&gt; will complain if it encounters an unhandled wildcard." onmousemove="i18n(this)">&Pcy;&ocy;&lcy;&ncy;&ycy;&jcy; &scy;&icy;&ncy;&tcy;&acy;&kcy;&scy;&icy;&scy; &pcy;&rcy;&iecy;&dcy;&scy;&tcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&yacy; p4 &ocy;&pcy;&icy;&scy;&acy;&ncy; &vcy;  <code>p4 help views</code> .  <code>git p4</code>  &zcy;&ncy;&acy;&iecy;&tcy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &pcy;&ocy;&dcy;&mcy;&ncy;&ocy;&zhcy;&iecy;&scy;&tcy;&vcy;&ocy; &scy;&icy;&ncy;&tcy;&acy;&kcy;&scy;&icy;&scy;&acy; &pcy;&rcy;&iecy;&dcy;&scy;&tcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&yacy;. &Ocy;&ncy; &pcy;&ocy;&ncy;&icy;&mcy;&acy;&iecy;&tcy; &mcy;&ncy;&ocy;&gcy;&ocy;&scy;&tcy;&rcy;&ocy;&chcy;&ncy;&ycy;&iecy; &scy;&ocy;&pcy;&ocy;&scy;&tcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&yacy;, &ncy;&acy;&lcy;&ocy;&zhcy;&iecy;&ncy;&icy;&yacy; &scy;  <code>+</code>  , &icy;&scy;&kcy;&lcy;&yucy;&chcy;&iecy;&ncy;&icy;&yacy; &scy;  <code>-</code>  &icy; &dcy;&vcy;&ocy;&jcy;&ncy;&ycy;&iecy; &kcy;&acy;&vcy;&ycy;&chcy;&kcy;&icy; &vcy;&ocy;&kcy;&rcy;&ucy;&gcy; &pcy;&rcy;&ocy;&bcy;&iecy;&lcy;&ocy;&vcy;. &Icy;&zcy; &vcy;&ocy;&zcy;&mcy;&ocy;&zhcy;&ncy;&ycy;&khcy; &pcy;&ocy;&dcy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&ocy;&chcy;&ncy;&ycy;&khcy; &zcy;&ncy;&acy;&kcy;&ocy;&vcy;  <code>git p4</code>  &ocy;&bcy;&rcy;&acy;&bcy;&acy;&tcy;&ycy;&vcy;&acy;&iecy;&tcy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy;  <code>&hellip;&ZeroWidthSpace;</code>  &icy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &tcy;&ocy;&gcy;&dcy;&acy;, &kcy;&ocy;&gcy;&dcy;&acy; &ocy;&ncy; &ncy;&acy;&khcy;&ocy;&dcy;&icy;&tcy;&scy;&yacy; &vcy; &kcy;&ocy;&ncy;&tscy;&iecy; &pcy;&ucy;&tcy;&icy;.  <code>git p4</code>  &bcy;&ucy;&dcy;&iecy;&tcy; &zhcy;&acy;&lcy;&ocy;&vcy;&acy;&tcy;&softcy;&scy;&yacy;, &iecy;&scy;&lcy;&icy; &vcy;&scy;&tcy;&rcy;&iecy;&tcy;&icy;&tcy; &ncy;&iecy;&ocy;&bcy;&rcy;&acy;&bcy;&ocy;&tcy;&acy;&ncy;&ncy;&ycy;&jcy; &pcy;&ocy;&dcy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&ocy;&chcy;&ncy;&ycy;&jcy; &zcy;&ncy;&acy;&kcy;.</span></p> <p><span data-i18n="4127bde27a38d8644dedc81cb6ea7ddef3e022fd468e53b63c44d38221ebfef7/b2" data-source="Bugs in the implementation of overlap mappings exist. If multiple depot paths map through overlays to the same location in the repository, &lt;code&gt;git p4&lt;/code&gt; can choose the wrong one. This is hard to solve without dedicating a client spec just for &lt;code&gt;git p4&lt;/code&gt;." onmousemove="i18n(this)">&Scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&yucy;&tcy; &ocy;&shcy;&icy;&bcy;&kcy;&icy; &vcy; &rcy;&iecy;&acy;&lcy;&icy;&zcy;&acy;&tscy;&icy;&icy; &scy;&ocy;&pcy;&ocy;&scy;&tcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&jcy; &pcy;&iecy;&rcy;&iecy;&kcy;&rcy;&ycy;&tcy;&icy;&yacy;. &IEcy;&scy;&lcy;&icy; &ncy;&iecy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ocy; &pcy;&ucy;&tcy;&iecy;&jcy; &kcy; &dcy;&iecy;&pcy;&ocy; &scy;&ocy;&pcy;&ocy;&scy;&tcy;&acy;&vcy;&lcy;&yacy;&yucy;&tcy;&scy;&yacy; &chcy;&iecy;&rcy;&iecy;&zcy; &ncy;&acy;&lcy;&ocy;&zhcy;&iecy;&ncy;&icy;&yacy; &scy; &ocy;&dcy;&ncy;&icy;&mcy; &icy; &tcy;&iecy;&mcy; &zhcy;&iecy; &mcy;&iecy;&scy;&tcy;&ocy;&mcy; &vcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&icy;,  <code>git p4</code>  &mcy;&ocy;&zhcy;&iecy;&tcy; &vcy;&ycy;&bcy;&rcy;&acy;&tcy;&softcy; &ncy;&iecy;&pcy;&rcy;&acy;&vcy;&icy;&lcy;&softcy;&ncy;&ycy;&jcy; &pcy;&ucy;&tcy;&softcy;. &Ecy;&tcy;&ucy; &pcy;&rcy;&ocy;&bcy;&lcy;&iecy;&mcy;&ucy; &tcy;&rcy;&ucy;&dcy;&ncy;&ocy; &rcy;&iecy;&shcy;&icy;&tcy;&softcy;, &ncy;&iecy; &vcy;&ycy;&dcy;&iecy;&lcy;&icy;&vcy; &kcy;&lcy;&icy;&iecy;&ncy;&tcy;&scy;&kcy;&ucy;&yucy; &scy;&pcy;&iecy;&tscy;&icy;&fcy;&icy;&kcy;&acy;&tscy;&icy;&yucy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &dcy;&lcy;&yacy;  <code>git p4</code> .</span></p> <p><span data-i18n="b0ac9f1ab20478c3a12d069b7d0993075abc81c51d5f92388f832cdf5a6674c3/10" data-source="The name of the client can be given to &lt;code&gt;git p4&lt;/code&gt; in multiple ways. The variable &lt;code&gt;git-p4.client&lt;/code&gt; takes precedence if it exists. Otherwise, normal p4 mechanisms of determining the client are used: environment variable &lt;code&gt;P4CLIENT&lt;/code&gt;, a file referenced by &lt;code&gt;P4CONFIG&lt;/code&gt;, or the local host name." onmousemove="i18n(this)">&Icy;&mcy;&yacy; &kcy;&lcy;&icy;&iecy;&ncy;&tcy;&acy;  <code>git p4</code>  &mcy;&ocy;&zhcy;&iecy;&tcy; &bcy;&ycy;&tcy;&softcy; &pcy;&rcy;&icy;&scy;&vcy;&ocy;&iecy;&ncy;&ocy; &ncy;&iecy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&icy;&mcy;&icy; &scy;&pcy;&ocy;&scy;&ocy;&bcy;&acy;&mcy;&icy;. &Pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&acy;&yacy;  <code>git-p4.client</code>  &icy;&mcy;&iecy;&iecy;&tcy; &pcy;&rcy;&icy;&ocy;&rcy;&icy;&tcy;&iecy;&tcy;, &iecy;&scy;&lcy;&icy; &ocy;&ncy;&acy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy;. &Vcy; &pcy;&rcy;&ocy;&tcy;&icy;&vcy;&ncy;&ocy;&mcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&yucy;&tcy;&scy;&yacy; &ocy;&bcy;&ycy;&chcy;&ncy;&ycy;&iecy; &mcy;&iecy;&khcy;&acy;&ncy;&icy;&zcy;&mcy;&ycy; &ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&iecy;&ncy;&icy;&yacy; &kcy;&lcy;&icy;&iecy;&ncy;&tcy;&acy; p4: &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&acy;&yacy; &scy;&rcy;&iecy;&dcy;&ycy;  <code>P4CLIENT</code> , &fcy;&acy;&jcy;&lcy;, &ncy;&acy; &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&jcy; &scy;&scy;&ycy;&lcy;&acy;&iecy;&tcy;&scy;&yacy;  <code>P4CONFIG</code> , &icy;&lcy;&icy; &icy;&mcy;&yacy; &lcy;&ocy;&kcy;&acy;&lcy;&softcy;&ncy;&ocy;&gcy;&ocy; &khcy;&ocy;&scy;&tcy;&acy;.</span></p> </div> <h2 class="text-body-emphasis"  id="_branch_detection"><span data-i18n="45ebecd4dfa54f8ae3b534f475786eae7721910c8ac679891f1a51e14a19afbf/82" data-source="Branch detection" onmousemove="i18n(this)">Branch detection</span></h2> <div> <p><span data-i18n="3c0b6dabfc80c4a66d94929b7e14b1be416fe262c8df1c5061302f09e8781e72/b8" data-source="P4 does not have the same concept of a branch as Git. Instead, p4 organizes its content as a directory tree, where by convention different logical branches are in different locations in the tree. The &lt;code&gt;p4 branch&lt;/code&gt; command is used to maintain mappings between different areas in the tree, and indicate related content. &lt;code&gt;git p4&lt;/code&gt; can use these mappings to determine branch relationships." onmousemove="i18n(this)">P4 &ncy;&iecy; &icy;&mcy;&iecy;&iecy;&tcy; &tcy;&ocy;&jcy; &zhcy;&iecy; &kcy;&ocy;&ncy;&tscy;&iecy;&pcy;&tscy;&icy;&icy; &vcy;&iecy;&tcy;&kcy;&icy;, &chcy;&tcy;&ocy; &icy; Git. &Vcy;&mcy;&iecy;&scy;&tcy;&ocy; &ecy;&tcy;&ocy;&gcy;&ocy; p4 &ocy;&rcy;&gcy;&acy;&ncy;&icy;&zcy;&ucy;&iecy;&tcy; &scy;&vcy;&ocy;&iecy; &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&icy;&mcy;&ocy;&iecy; &vcy; &vcy;&icy;&dcy;&iecy; &dcy;&iecy;&rcy;&iecy;&vcy;&acy; &kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&ocy;&vcy;, &gcy;&dcy;&iecy; &pcy;&ocy; &scy;&ocy;&gcy;&lcy;&acy;&shcy;&iecy;&ncy;&icy;&yucy; &rcy;&acy;&zcy;&ncy;&ycy;&iecy; &lcy;&ocy;&gcy;&icy;&chcy;&iecy;&scy;&kcy;&icy;&iecy; &vcy;&iecy;&tcy;&vcy;&icy; &ncy;&acy;&khcy;&ocy;&dcy;&yacy;&tcy;&scy;&yacy; &vcy; &rcy;&acy;&zcy;&ncy;&ycy;&khcy; &mcy;&iecy;&scy;&tcy;&acy;&khcy; &dcy;&iecy;&rcy;&iecy;&vcy;&acy;. &Kcy;&ocy;&mcy;&acy;&ncy;&dcy;&acy;  <code>p4 branch</code>  &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy; &dcy;&lcy;&yacy; &pcy;&ocy;&dcy;&dcy;&iecy;&rcy;&zhcy;&acy;&ncy;&icy;&yacy; &scy;&ocy;&pcy;&ocy;&scy;&tcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&jcy; &mcy;&iecy;&zhcy;&dcy;&ucy; &rcy;&acy;&zcy;&lcy;&icy;&chcy;&ncy;&ycy;&mcy;&icy; &ocy;&bcy;&lcy;&acy;&scy;&tcy;&yacy;&mcy;&icy; &dcy;&iecy;&rcy;&iecy;&vcy;&acy; &icy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&icy;&yacy; &scy;&vcy;&yacy;&zcy;&acy;&ncy;&ncy;&ocy;&gcy;&ocy; &kcy;&ocy;&ncy;&tcy;&iecy;&ncy;&tcy;&acy;.  <code>git p4</code>  &mcy;&ocy;&zhcy;&iecy;&tcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &ecy;&tcy;&icy; &scy;&ocy;&pcy;&ocy;&scy;&tcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&yacy; &dcy;&lcy;&yacy; &ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&iecy;&ncy;&icy;&yacy; &scy;&vcy;&yacy;&zcy;&iecy;&jcy; &vcy;&iecy;&tcy;&vcy;&iecy;&jcy;.</span></p> <p><span data-i18n="ff0d97965db9584e219a62c7960d6ca71b59260b0b9c04a1f12f5ceffda7b72e/be" data-source="If you have a repository where all the branches of interest exist as subdirectories of a single depot path, you can use &lt;code&gt;--detect-branches&lt;/code&gt; when cloning or syncing to have &lt;code&gt;git p4&lt;/code&gt; automatically find subdirectories in p4, and to generate these as branches in Git." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &ucy; &vcy;&acy;&scy; &iecy;&scy;&tcy;&softcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy;, &vcy; &kcy;&ocy;&tcy;&ocy;&rcy;&ocy;&mcy; &vcy;&scy;&iecy; &icy;&ncy;&tcy;&iecy;&rcy;&iecy;&scy;&ucy;&yucy;&shchcy;&icy;&iecy; &vcy;&iecy;&tcy;&kcy;&icy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&yucy;&tcy; &kcy;&acy;&kcy; &pcy;&ocy;&dcy;&kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&icy; &ocy;&dcy;&ncy;&ocy;&gcy;&ocy; &pcy;&ucy;&tcy;&icy; &kcy; &khcy;&rcy;&acy;&ncy;&icy;&lcy;&icy;&shchcy;&ucy;, &vcy;&ycy; &mcy;&ocy;&zhcy;&iecy;&tcy;&iecy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy;  <code>--detect-branches</code>  &pcy;&rcy;&icy; &kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&icy; &icy;&lcy;&icy; &scy;&icy;&ncy;&khcy;&rcy;&ocy;&ncy;&icy;&zcy;&acy;&tscy;&icy;&icy;, &chcy;&tcy;&ocy;&bcy;&ycy;  <code>git p4</code>  &acy;&vcy;&tcy;&ocy;&mcy;&acy;&tcy;&icy;&chcy;&iecy;&scy;&kcy;&icy; &ncy;&acy;&khcy;&ocy;&dcy;&icy;&lcy; &pcy;&ocy;&dcy;&kcy;&acy;&tcy;&acy;&lcy;&ocy;&gcy;&icy; &vcy; p4 &icy; &scy;&ocy;&zcy;&dcy;&acy;&vcy;&acy;&lcy; &icy;&khcy; &kcy;&acy;&kcy; &vcy;&iecy;&tcy;&kcy;&icy; &vcy; Git.</span></p> <p><span data-i18n="c16de9e66b48b45619f0bc5a623a1aac6bf58f94e72bfa06bf5340fc04bcbc25/6e" data-source="For example, if the P4 repository structure is:" onmousemove="i18n(this)">&Ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;, &iecy;&scy;&lcy;&icy; &scy;&tcy;&rcy;&ucy;&kcy;&tcy;&ucy;&rcy;&acy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&yacy; P4 &scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&acy;&yacy;:</span></p> <div> <div> <pre class="hljs language-bash">//depot/main/...
//depot/branch1/...</pre> </div> </div> <p><span data-i18n="be5e905de70bfc5a0ee7122c0eaefcf6149b0a83180c43f6897c609314249fc6/99" data-source="And &amp;quot;p4 branch -o branch1&amp;quot; shows a View line that looks like:" onmousemove="i18n(this)">&Acy;  &quot;p4 branch -o branch1&quot;  &pcy;&ocy;&kcy;&acy;&zcy;&ycy;&vcy;&acy;&iecy;&tcy; &scy;&tcy;&rcy;&ocy;&kcy;&ucy; &pcy;&rcy;&ocy;&scy;&mcy;&ocy;&tcy;&rcy;&acy;, &kcy;&ocy;&tcy;&ocy;&rcy;&acy;&yacy; &vcy;&ycy;&gcy;&lcy;&yacy;&dcy;&icy;&tcy; &tcy;&acy;&kcy;:</span></p> <div> <div> <pre class="hljs language-bash">//depot/main/... //depot/branch1/...</pre> </div> </div> <p><span data-i18n="f8edf3f1750e978efee9c930ce07eb04b171f8963c00c3db33cd2f1d6cc9b1c6/17" data-source="Then this &lt;code&gt;git p4 clone&lt;/code&gt; command:" onmousemove="i18n(this)">&Zcy;&acy;&tcy;&iecy;&mcy; &ecy;&tcy;&acy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&acy;  <code>git p4 clone</code> :</span></p> <div> <div> <pre class="hljs language-bash">git p4 <span class="hljs-built_in">clone</span> --detect-branches //depot@all</pre> </div> </div> <p><span data-i18n="28de546d6ba50bc974929dc1a9c2c821ba5314d6eb7a09eee440c3963b520f36/61" data-source="produces a separate branch in &lt;code&gt;refs/remotes/p4/&lt;/code&gt; for //depot/main, called &lt;code&gt;master&lt;/code&gt;, and one for //depot/branch1 called &lt;code&gt;depot/branch1&lt;/code&gt;." onmousemove="i18n(this)">&scy;&ocy;&zcy;&dcy;&acy;&iecy;&tcy; &ocy;&tcy;&dcy;&iecy;&lcy;&softcy;&ncy;&ucy;&yucy; &vcy;&iecy;&tcy;&vcy;&softcy; &vcy;  <code>refs/remotes/p4/</code>  &dcy;&lcy;&yacy; //depot/main, &ncy;&acy;&zcy;&ycy;&vcy;&acy;&iecy;&mcy;&ucy;&yucy;  <code>master</code> , &icy; &ocy;&dcy;&ncy;&ucy; &dcy;&lcy;&yacy; //depot/branch1, &ncy;&acy;&zcy;&ycy;&vcy;&acy;&iecy;&mcy;&ucy;&yucy;  <code>depot/branch1</code> .</span></p> <p><span data-i18n="56f69b5fdb21c63eb7c2e0ea89d0a0ae6ae3554eff1f97252a23052cf05b1917/b6" data-source="However, it is not necessary to create branches in p4 to be able to use them like branches. Because it is difficult to infer branch relationships automatically, a Git configuration setting &lt;code&gt;git-p4.branchList&lt;/code&gt; can be used to explicitly identify branch relationships. It is a list of &amp;quot;source:destination&amp;quot; pairs, like a simple p4 branch specification, where the &amp;quot;source&amp;quot; and &amp;quot;destination&amp;quot; are the path elements in the p4 repository. The example above relied on the presence of the p4 branch. Without p4 branches, the same result will occur with:" onmousemove="i18n(this)">&Ocy;&dcy;&ncy;&acy;&kcy;&ocy; &ncy;&iecy; &ocy;&bcy;&yacy;&zcy;&acy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy; &scy;&ocy;&zcy;&dcy;&acy;&vcy;&acy;&tcy;&softcy; &vcy;&iecy;&tcy;&kcy;&icy; &vcy; p4, &chcy;&tcy;&ocy;&bcy;&ycy; &mcy;&ocy;&zhcy;&ncy;&ocy; &bcy;&ycy;&lcy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &icy;&khcy; &kcy;&acy;&kcy; &vcy;&iecy;&tcy;&kcy;&icy;. &Pcy;&ocy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ucy; &acy;&vcy;&tcy;&ocy;&mcy;&acy;&tcy;&icy;&chcy;&iecy;&scy;&kcy;&icy; &ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&icy;&tcy;&softcy; &scy;&vcy;&yacy;&zcy;&icy; &vcy;&iecy;&tcy;&vcy;&iecy;&jcy; &scy;&lcy;&ocy;&zhcy;&ncy;&ocy;, &dcy;&lcy;&yacy; &yacy;&vcy;&ncy;&ocy;&jcy; &icy;&dcy;&iecy;&ncy;&tcy;&icy;&fcy;&icy;&kcy;&acy;&tscy;&icy;&icy; &scy;&vcy;&yacy;&zcy;&iecy;&jcy; &vcy;&iecy;&tcy;&vcy;&iecy;&jcy; &mcy;&ocy;&zhcy;&ncy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy;  Git   <code>git-p4.branchList</code> . &Ecy;&tcy;&ocy; &scy;&pcy;&icy;&scy;&ocy;&kcy; &pcy;&acy;&rcy;  &quot;source:destination&quot; , &pcy;&ocy;&khcy;&ocy;&zhcy;&icy;&jcy; &ncy;&acy; &pcy;&rcy;&ocy;&scy;&tcy;&ucy;&yucy; &scy;&pcy;&iecy;&tscy;&icy;&fcy;&icy;&kcy;&acy;&tscy;&icy;&yucy; &vcy;&iecy;&tcy;&kcy;&icy; p4, &gcy;&dcy;&iecy;  &quot;source&quot;  &icy;  &quot;destination&quot;  &mdash; &ecy;&tcy;&ocy; &ecy;&lcy;&iecy;&mcy;&iecy;&ncy;&tcy;&ycy; &pcy;&ucy;&tcy;&icy; &vcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&icy; p4. &Pcy;&rcy;&icy;&vcy;&iecy;&dcy;&iecy;&ncy;&ncy;&ycy;&jcy; &vcy;&ycy;&shcy;&iecy; &pcy;&rcy;&icy;&mcy;&iecy;&rcy; &ocy;&scy;&ncy;&ocy;&vcy;&ycy;&vcy;&acy;&lcy;&scy;&yacy; &ncy;&acy; &ncy;&acy;&lcy;&icy;&chcy;&icy;&icy; &vcy;&iecy;&tcy;&kcy;&icy; p4. &Bcy;&iecy;&zcy; &vcy;&iecy;&tcy;&vcy;&iecy;&jcy; p4 &tcy;&ocy;&tcy; &zhcy;&iecy; &rcy;&iecy;&zcy;&ucy;&lcy;&softcy;&tcy;&acy;&tcy; &bcy;&ucy;&dcy;&iecy;&tcy;:</span></p> <div> <div> <pre class="hljs language-bash">git init depot
<span class="hljs-built_in">cd</span> depot
git config git-p4.branchList main:branch1
git p4 <span class="hljs-built_in">clone</span> --detect-branches //depot@all .</pre> </div> </div> </div> <h2 class="text-body-emphasis"  id="_performance"><span data-i18n="442aded87a55aa8c8f7d5ff0c30228150d4b1cb8756e4be138d615ca4708fc26/f7" data-source="Performance" onmousemove="i18n(this)">Performance</span></h2> <div> <p><span data-i18n="77c49973b714e1c5cd0a1122243481c8ac2f7038bc333c40090025dd7ec6cdd2/98" data-source="The fast-import mechanism used by &lt;code&gt;git p4&lt;/code&gt; creates one pack file for each invocation of &lt;code&gt;git p4 sync&lt;/code&gt;. Normally, Git garbage compression (&lt;a href=&quot;git-gc&quot;&gt;git-gc[1]&lt;/a&gt;) automatically compresses these to fewer pack files, but explicit invocation of &lt;code&gt;git repack -adf&lt;/code&gt; may improve performance." onmousemove="i18n(this)">&Mcy;&iecy;&khcy;&acy;&ncy;&icy;&zcy;&mcy; &bcy;&ycy;&scy;&tcy;&rcy;&ocy;&gcy;&ocy; &icy;&mcy;&pcy;&ocy;&rcy;&tcy;&acy;, &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&mcy;&ycy;&jcy;  <code>git p4</code> , &scy;&ocy;&zcy;&dcy;&acy;&iecy;&tcy; &ocy;&dcy;&icy;&ncy; &pcy;&acy;&kcy;&iecy;&tcy;&ncy;&ycy;&jcy; &fcy;&acy;&jcy;&lcy; &dcy;&lcy;&yacy; &kcy;&acy;&zhcy;&dcy;&ocy;&gcy;&ocy; &vcy;&ycy;&zcy;&ocy;&vcy;&acy;  <code>git p4 sync</code> . &Ocy;&bcy;&ycy;&chcy;&ncy;&ocy; &scy;&zhcy;&acy;&tcy;&icy;&iecy; &mcy;&ucy;&scy;&ocy;&rcy;&acy;  Git  (  <a href="git-gc.html">git-gc[1]</a>  ) &acy;&vcy;&tcy;&ocy;&mcy;&acy;&tcy;&icy;&chcy;&iecy;&scy;&kcy;&icy; &scy;&zhcy;&icy;&mcy;&acy;&iecy;&tcy; &icy;&khcy; &dcy;&ocy; &mcy;&iecy;&ncy;&softcy;&shcy;&iecy;&gcy;&ocy; &kcy;&ocy;&lcy;&icy;&chcy;&iecy;&scy;&tcy;&vcy;&acy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy; &pcy;&acy;&kcy;&iecy;&tcy;&ocy;&vcy;, &ncy;&ocy; &yacy;&vcy;&ncy;&ycy;&jcy; &vcy;&ycy;&zcy;&ocy;&vcy;  <code>git repack -adf</code>  &mcy;&ocy;&zhcy;&iecy;&tcy; &pcy;&ocy;&vcy;&ycy;&scy;&icy;&tcy;&softcy; &pcy;&rcy;&ocy;&icy;&zcy;&vcy;&ocy;&dcy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy;&scy;&tcy;&softcy;.</span></p> </div> <h2 class="text-body-emphasis"  id="_configuration_variables"><span data-i18n="a667ba33e320cf6acda247253e1d105ad09171b2aeffbcbeaa490ab4cd6c56f6/72" data-source="Configuration variables" onmousemove="i18n(this)">Configuration variables</span></h2> <div> <p><span data-i18n="e012ae33c2080c21f3df595dc56e53955ef4f794c6b46c6282bb91047385a37c/43" data-source="The following config settings can be used to modify &lt;code&gt;git p4&lt;/code&gt; behavior. They all are in the &lt;code&gt;git-p4&lt;/code&gt; section." onmousemove="i18n(this)">&Scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&icy;&iecy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy;&ycy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy; &mcy;&ocy;&zhcy;&ncy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &dcy;&lcy;&yacy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &pcy;&ocy;&vcy;&iecy;&dcy;&iecy;&ncy;&icy;&yacy;  <code>git p4</code> . &Vcy;&scy;&iecy; &ocy;&ncy;&icy; &ncy;&acy;&khcy;&ocy;&dcy;&yacy;&tcy;&scy;&yacy; &vcy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&iecy;  <code>git-p4</code> .</span></p> <div> <h3 class="text-body-emphasis"  id="_general_variables"><span data-i18n="5fbbf10ce1914449501888403deb51d8eff242af6e3b79cc9ae965a7d78a7bba/97" data-source="General variables" onmousemove="i18n(this)">General variables</span></h3> <div> <dl> <dt id="Documentation/git-p4.txt-git-p4user"><span data-i18n="0d527389e2b6caf596df2c496d9f9b4f20bc28f7edc759faceadc2f89791a1d8/af" data-source="git-p4.user" onmousemove="i18n(this)">git-p4.user</span></dt> <dd> <p><span data-i18n="3eb4a7b04d5a32184b1a0eb4c333ce948c433a8166263ecad4dfd40858a14ccb/4e" data-source="User specified as an option to all p4 commands, with &lt;code&gt;-u &amp;lt;user&amp;gt;&lt;/code&gt;. The environment variable &lt;code&gt;P4USER&lt;/code&gt; can be used instead." onmousemove="i18n(this)">&Pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&iecy;&lcy;&softcy; &ucy;&kcy;&acy;&zcy;&acy;&ncy; &kcy;&acy;&kcy; &ocy;&pcy;&tscy;&icy;&yacy; &dcy;&lcy;&yacy; &vcy;&scy;&iecy;&khcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy; p4 &scy;  <code>-u &lt;user&gt;</code> . &Vcy;&mcy;&iecy;&scy;&tcy;&ocy; &ecy;&tcy;&ocy;&gcy;&ocy; &mcy;&ocy;&zhcy;&ncy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ucy;&yucy; &scy;&rcy;&iecy;&dcy;&ycy;  <code>P4USER</code> .</span></p> </dd> <dt id="Documentation/git-p4.txt-git-p4password"><span data-i18n="7ac166468650b272e08ef0ea397033e24c0393e1fe4732fb9e9253e75fa9d5de/39" data-source="git-p4.password" onmousemove="i18n(this)">git-p4.password</span></dt> <dd> <p><span data-i18n="3a7c40c05993fa207ff87f23e3be37df734c58748fc5917a66c7ca16c8b0013e/ea" data-source="Password specified as an option to all p4 commands, with &lt;code&gt;-P &amp;lt;password&amp;gt;&lt;/code&gt;. The environment variable &lt;code&gt;P4PASS&lt;/code&gt; can be used instead." onmousemove="i18n(this)">&Pcy;&acy;&rcy;&ocy;&lcy;&softcy; &ucy;&kcy;&acy;&zcy;&ycy;&vcy;&acy;&iecy;&tcy;&scy;&yacy; &kcy;&acy;&kcy; &ocy;&pcy;&tscy;&icy;&yacy; &dcy;&lcy;&yacy; &vcy;&scy;&iecy;&khcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy; p4, &scy;  <code>-P &lt;password&gt;</code> . &Vcy;&mcy;&iecy;&scy;&tcy;&ocy; &ecy;&tcy;&ocy;&gcy;&ocy; &mcy;&ocy;&zhcy;&ncy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ucy;&yucy; &scy;&rcy;&iecy;&dcy;&ycy;  <code>P4PASS</code> .</span></p> </dd> <dt id="Documentation/git-p4.txt-git-p4port"><span data-i18n="d387c5d34c329cc3fc4853f77791be93535df0c3d0e84de3f2ba545c84b0f4b7/40" data-source="git-p4.port" onmousemove="i18n(this)">git-p4.port</span></dt> <dd> <p><span data-i18n="761aa3557df939cccf55edcefd6301c7688a8c157a05dc3c48b3ecb6b62da5ce/ac" data-source="Port specified as an option to all p4 commands, with &lt;code&gt;-p &amp;lt;port&amp;gt;&lt;/code&gt;. The environment variable &lt;code&gt;P4PORT&lt;/code&gt; can be used instead." onmousemove="i18n(this)">&Pcy;&ocy;&rcy;&tcy; &ucy;&kcy;&acy;&zcy;&acy;&ncy; &kcy;&acy;&kcy; &ocy;&pcy;&tscy;&icy;&yacy; &dcy;&lcy;&yacy; &vcy;&scy;&iecy;&khcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy; p4, &scy;  <code>-p &lt;port&gt;</code>  . &Vcy;&mcy;&iecy;&scy;&tcy;&ocy; &ecy;&tcy;&ocy;&gcy;&ocy; &mcy;&ocy;&zhcy;&ncy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ucy;&yucy; &scy;&rcy;&iecy;&dcy;&ycy;  <code>P4PORT</code> .</span></p> </dd> <dt id="Documentation/git-p4.txt-git-p4host"><span data-i18n="13314b3fa855eddb8bb7f526674555b1d96888ed0ee75e7a2f35fbca8042d3d4/35" data-source="git-p4.host" onmousemove="i18n(this)">git-p4.host</span></dt> <dd> <p><span data-i18n="15354e9bba54f7789828dedf4736b3a60e3129a0f2cd8741c91da76f1e497a19/e1" data-source="Host specified as an option to all p4 commands, with &lt;code&gt;-h &amp;lt;host&amp;gt;&lt;/code&gt;. The environment variable &lt;code&gt;P4HOST&lt;/code&gt; can be used instead." onmousemove="i18n(this)">&KHcy;&ocy;&scy;&tcy; &ucy;&kcy;&acy;&zcy;&acy;&ncy; &kcy;&acy;&kcy; &ocy;&pcy;&tscy;&icy;&yacy; &dcy;&lcy;&yacy; &vcy;&scy;&iecy;&khcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy; p4 &scy;  <code>-h &lt;host&gt;</code>  . &Vcy;&mcy;&iecy;&scy;&tcy;&ocy; &ecy;&tcy;&ocy;&gcy;&ocy; &mcy;&ocy;&zhcy;&ncy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ucy;&yucy; &scy;&rcy;&iecy;&dcy;&ycy;  <code>P4HOST</code> .</span></p> </dd> <dt id="Documentation/git-p4.txt-git-p4client"><span data-i18n="b4de3bbae68d12f7ac7156f1530cbf0d2486919f7979a86b84f17cc4a6a4fc5c/9d" data-source="git-p4.client" onmousemove="i18n(this)">git-p4.client</span></dt> <dd> <p><span data-i18n="b28dca9d1f29e5110c8e967119269f584928e4e003067ffe5d4fdfc992d3d422/0e" data-source="Client specified as an option to all p4 commands, with &lt;code&gt;-c &amp;lt;client&amp;gt;&lt;/code&gt;, including the client spec." onmousemove="i18n(this)">&Kcy;&lcy;&icy;&iecy;&ncy;&tcy; &ucy;&kcy;&acy;&zcy;&acy;&ncy; &kcy;&acy;&kcy; &ocy;&pcy;&tscy;&icy;&yacy; &dcy;&lcy;&yacy; &vcy;&scy;&iecy;&khcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy; p4 &scy;  <code>-c &lt;client&gt;</code>  , &vcy;&kcy;&lcy;&yucy;&chcy;&acy;&yacy; &scy;&pcy;&iecy;&tscy;&icy;&fcy;&icy;&kcy;&acy;&tscy;&icy;&yucy; &kcy;&lcy;&icy;&iecy;&ncy;&tcy;&acy;.</span></p> </dd> <dt id="Documentation/git-p4.txt-git-p4retries"><span data-i18n="6ebc556d8b02a272c6125df312d00a4b84741d82d6b84dc9e6cdcd33b53324da/f4" data-source="git-p4.retries" onmousemove="i18n(this)">git-p4.retries</span></dt> <dd> <p><span data-i18n="8f5b6bea3b859e1f8f87a791cb93a31da6be598d9c079182603a72caf7e93f98/65" data-source="Specifies the number of times to retry a p4 command (notably, &lt;code&gt;p4 sync&lt;/code&gt;) if the network times out. The default value is 3. Set the value to 0 to disable retries or if your p4 version does not support retries (pre 2012.2)." onmousemove="i18n(this)">&Ucy;&kcy;&acy;&zcy;&ycy;&vcy;&acy;&iecy;&tcy; &kcy;&ocy;&lcy;&icy;&chcy;&iecy;&scy;&tcy;&vcy;&ocy; &pcy;&ocy;&vcy;&tcy;&ocy;&rcy;&ocy;&vcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ycy; p4 (&vcy; &chcy;&acy;&scy;&tcy;&ncy;&ocy;&scy;&tcy;&icy;,  <code>p4 sync</code>  ), &iecy;&scy;&lcy;&icy; &vcy;&rcy;&iecy;&mcy;&yacy; &ocy;&zhcy;&icy;&dcy;&acy;&ncy;&icy;&yacy; &scy;&iecy;&tcy;&icy; &icy;&scy;&tcy;&iecy;&kcy;&lcy;&ocy;. &Zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &mdash; 3. &Ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&icy;&tcy;&iecy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy; 0, &chcy;&tcy;&ocy;&bcy;&ycy; &ocy;&tcy;&kcy;&lcy;&yucy;&chcy;&icy;&tcy;&softcy; &pcy;&ocy;&vcy;&tcy;&ocy;&rcy;&ncy;&ycy;&iecy; &pcy;&ocy;&pcy;&ycy;&tcy;&kcy;&icy; &icy;&lcy;&icy; &iecy;&scy;&lcy;&icy; &vcy;&acy;&shcy;&acy; &vcy;&iecy;&rcy;&scy;&icy;&yacy; p4 &ncy;&iecy; &pcy;&ocy;&dcy;&dcy;&iecy;&rcy;&zhcy;&icy;&vcy;&acy;&iecy;&tcy; &pcy;&ocy;&vcy;&tcy;&ocy;&rcy;&ncy;&ycy;&iecy; &pcy;&ocy;&pcy;&ycy;&tcy;&kcy;&icy; (&dcy;&ocy; 2012.2).</span></p> </dd> </dl> </div> </div> <div> <h3 class="text-body-emphasis"  id="_clone_and_sync_variables"><span data-i18n="165d7cac59df7d45ddb83a658d92aea02f1bcfa240c40c16ec46b7eb4991f960/03" data-source="Clone and sync variables" onmousemove="i18n(this)">&Kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy; &icy; &scy;&icy;&ncy;&khcy;&rcy;&ocy;&ncy;&icy;&zcy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ycy;&iecy;</span></h3> <div> <dl> <dt id="Documentation/git-p4.txt-git-p4syncFromOrigin"><span data-i18n="6f8dd59d9511e200b41fa85029f4e1f72a46f7e94721e9f6d140d8f8df9e7e6a/76" data-source="git-p4.syncFromOrigin" onmousemove="i18n(this)">git-p4.syncFromOrigin</span></dt> <dd> <p><span data-i18n="8d434010aac8f0bc8349f49cf6e4da0d0cb5c4b5208dc3cfd9a5786d27b79151/61" data-source="Because importing commits from other Git repositories is much faster than importing them from p4, a mechanism exists to find p4 changes first in Git remotes. If branches exist under &lt;code&gt;refs/remote/origin/p4&lt;/code&gt;, those will be fetched and used when syncing from p4. This variable can be set to &lt;code&gt;false&lt;/code&gt; to disable this behavior." onmousemove="i18n(this)">&Pcy;&ocy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&ucy; &icy;&mcy;&pcy;&ocy;&rcy;&tcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;&ocy;&vcy; &icy;&zcy; &dcy;&rcy;&ucy;&gcy;&icy;&khcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&iecy;&vcy;  Git  &pcy;&rcy;&ocy;&icy;&scy;&khcy;&ocy;&dcy;&icy;&tcy; &ncy;&acy;&mcy;&ncy;&ocy;&gcy;&ocy; &bcy;&ycy;&scy;&tcy;&rcy;&iecy;&iecy;, &chcy;&iecy;&mcy; &icy;&mcy;&pcy;&ocy;&rcy;&tcy; &icy;&khcy; &icy;&zcy; p4, &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy; &mcy;&iecy;&khcy;&acy;&ncy;&icy;&zcy;&mcy;, &pcy;&ocy;&zcy;&vcy;&ocy;&lcy;&yacy;&yucy;&shchcy;&icy;&jcy; &scy;&ncy;&acy;&chcy;&acy;&lcy;&acy; &ncy;&acy;&jcy;&tcy;&icy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; p4 &ncy;&acy; &ucy;&dcy;&acy;&lcy;&iecy;&ncy;&ncy;&ycy;&khcy;  Git . &IEcy;&scy;&lcy;&icy; &pcy;&ocy;&dcy;  <code>refs/remote/origin/p4</code>  &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&yucy;&tcy; &vcy;&iecy;&tcy;&kcy;&icy;, &ocy;&ncy;&icy; &bcy;&ucy;&dcy;&ucy;&tcy; &vcy;&ycy;&bcy;&rcy;&acy;&ncy;&ycy; &icy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&ycy; &pcy;&rcy;&icy; &scy;&icy;&ncy;&khcy;&rcy;&ocy;&ncy;&icy;&zcy;&acy;&tscy;&icy;&icy; &scy; p4. &Dcy;&lcy;&yacy; &ecy;&tcy;&ocy;&jcy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ocy;&jcy; &mcy;&ocy;&zhcy;&ncy;&ocy; &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&icy;&tcy;&softcy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy;  <code>false</code> , &chcy;&tcy;&ocy;&bcy;&ycy; &ocy;&tcy;&kcy;&lcy;&yucy;&chcy;&icy;&tcy;&softcy; &ecy;&tcy;&ocy; &pcy;&ocy;&vcy;&iecy;&dcy;&iecy;&ncy;&icy;&iecy;.</span></p> </dd> <dt id="Documentation/git-p4.txt-git-p4branchUser"><span data-i18n="c186bb83c23bf396dcc5f7c8b1f8af8735ff50d4a0ff49f4c6068ba52aa9f27d/75" data-source="git-p4.branchUser" onmousemove="i18n(this)">git-p4.branchUser</span></dt> <dd> <p><span data-i18n="89f9ffb5b2f994fc3bec5614bef9a0b38355a4bdf0ecbe257ce4d7488e4b39f3/9c" data-source="One phase in branch detection involves looking at p4 branches to find new ones to import. By default, all branches are inspected. This option limits the search to just those owned by the single user named in the variable." onmousemove="i18n(this)">&Ocy;&dcy;&icy;&ncy; &icy;&zcy; &ecy;&tcy;&acy;&pcy;&ocy;&vcy; &ocy;&bcy;&ncy;&acy;&rcy;&ucy;&zhcy;&iecy;&ncy;&icy;&yacy; &vcy;&iecy;&tcy;&vcy;&iecy;&jcy; &vcy;&kcy;&lcy;&yucy;&chcy;&acy;&iecy;&tcy; &vcy; &scy;&iecy;&bcy;&yacy; &pcy;&rcy;&ocy;&scy;&mcy;&ocy;&tcy;&rcy; &vcy;&iecy;&tcy;&vcy;&iecy;&jcy; p4 &scy; &tscy;&iecy;&lcy;&softcy;&yucy; &pcy;&ocy;&icy;&scy;&kcy;&acy; &ncy;&ocy;&vcy;&ycy;&khcy; &dcy;&lcy;&yacy; &icy;&mcy;&pcy;&ocy;&rcy;&tcy;&acy;. &Pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&yacy;&yucy;&tcy;&scy;&yacy; &vcy;&scy;&iecy; &vcy;&iecy;&tcy;&kcy;&icy;. &Ecy;&tcy;&acy; &ocy;&pcy;&tscy;&icy;&yacy; &ocy;&gcy;&rcy;&acy;&ncy;&icy;&chcy;&icy;&vcy;&acy;&iecy;&tcy; &pcy;&ocy;&icy;&scy;&kcy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &tcy;&iecy;&mcy;&icy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &pcy;&rcy;&icy;&ncy;&acy;&dcy;&lcy;&iecy;&zhcy;&acy;&tcy; &ocy;&dcy;&ncy;&ocy;&mcy;&ucy; &pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&iecy;&lcy;&yucy;, &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ncy;&ocy;&mcy;&ucy; &vcy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&ocy;&jcy;.</span></p> </dd> <dt id="Documentation/git-p4.txt-git-p4branchList"><span data-i18n="4b54c2d821400632e23bf5e840ddd7c46275aff34a52ebe37c884438151f0545/65" data-source="git-p4.branchList" onmousemove="i18n(this)">git-p4.branchList</span></dt> <dd> <p><span data-i18n="36c466f75a9429aceb4c51f83cd0d06d91ad32264246fc414b1edbc183a9e13e/0e" data-source="List of branches to be imported when branch detection is enabled. Each entry should be a pair of branch names separated by a colon (:). This example declares that both branchA and branchB were created from main:" onmousemove="i18n(this)">&Scy;&pcy;&icy;&scy;&ocy;&kcy; &vcy;&iecy;&tcy;&vcy;&iecy;&jcy;, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &bcy;&ucy;&dcy;&ucy;&tcy; &icy;&mcy;&pcy;&ocy;&rcy;&tcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ycy;, &iecy;&scy;&lcy;&icy; &vcy;&kcy;&lcy;&yucy;&chcy;&iecy;&ncy;&ocy; &ocy;&bcy;&ncy;&acy;&rcy;&ucy;&zhcy;&iecy;&ncy;&icy;&iecy; &vcy;&iecy;&tcy;&vcy;&iecy;&jcy;. &Kcy;&acy;&zhcy;&dcy;&acy;&yacy; &zcy;&acy;&pcy;&icy;&scy;&softcy; &dcy;&ocy;&lcy;&zhcy;&ncy;&acy; &pcy;&rcy;&iecy;&dcy;&scy;&tcy;&acy;&vcy;&lcy;&yacy;&tcy;&softcy; &scy;&ocy;&bcy;&ocy;&jcy; &pcy;&acy;&rcy;&ucy; &icy;&mcy;&iecy;&ncy; &vcy;&iecy;&tcy;&vcy;&iecy;&jcy;, &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&iecy;&ncy;&ncy;&ycy;&khcy; &dcy;&vcy;&ocy;&iecy;&tcy;&ocy;&chcy;&icy;&iecy;&mcy; (:). &Vcy; &ecy;&tcy;&ocy;&mcy; &pcy;&rcy;&icy;&mcy;&iecy;&rcy;&iecy; &ocy;&bcy;&hardcy;&yacy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy;, &chcy;&tcy;&ocy; &icy; &vcy;&iecy;&tcy;&kcy;&acy; A, &icy; &vcy;&iecy;&tcy;&kcy;&acy; B &bcy;&ycy;&lcy;&icy; &scy;&ocy;&zcy;&dcy;&acy;&ncy;&ycy; &icy;&zcy; &ocy;&scy;&ncy;&ocy;&vcy;&ncy;&ocy;&jcy;:</span></p> <div> <div> <pre class="hljs language-lua">git <span class="hljs-built_in">config</span>       git-p4.branchList main:branchA
git <span class="hljs-built_in">config</span> <span class="hljs-comment">--add git-p4.branchList main:branchB</span></pre> </div> </div> </dd> <dt id="Documentation/git-p4.txt-git-p4ignoredP4Labels"><span data-i18n="b81f074dce515b9d404f2c23f05165839994e63bb39acb9789d2225593164e30/61" data-source="git-p4.ignoredP4Labels" onmousemove="i18n(this)">git-p4.ignoredP4Labels</span></dt> <dd> <p><span data-i18n="284c1b1eaa1ebed1a532fa51ea83c7a76d3556e62c3e1b1022d677b5fe1ef7b7/cd" data-source="List of p4 labels to ignore. This is built automatically as unimportable labels are discovered." onmousemove="i18n(this)">&Scy;&pcy;&icy;&scy;&ocy;&kcy; &yacy;&rcy;&lcy;&ycy;&kcy;&ocy;&vcy; p4, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&iecy; &scy;&lcy;&iecy;&dcy;&ucy;&iecy;&tcy; &icy;&gcy;&ncy;&ocy;&rcy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy;. &Ocy;&ncy; &scy;&ocy;&zcy;&dcy;&acy;&iecy;&tcy;&scy;&yacy; &acy;&vcy;&tcy;&ocy;&mcy;&acy;&tcy;&icy;&chcy;&iecy;&scy;&kcy;&icy; &pcy;&rcy;&icy; &ocy;&bcy;&ncy;&acy;&rcy;&ucy;&zhcy;&iecy;&ncy;&icy;&icy; &ncy;&iecy;&icy;&mcy;&pcy;&ocy;&rcy;&tcy;&icy;&rcy;&ucy;&iecy;&mcy;&ycy;&khcy; &mcy;&iecy;&tcy;&ocy;&kcy;.</span></p> </dd> <dt id="Documentation/git-p4.txt-git-p4importLabels"><span data-i18n="e2aa13cc49216bbd70e7860a3a5d9063affced4b24f6792d8f92af96af16527e/b2" data-source="git-p4.importLabels" onmousemove="i18n(this)">git-p4.importLabels</span></dt> <dd> <p><span data-i18n="3f0d27e1ce3d3ad4e3afe810729aa3524c8a03bdb9a081f04a97e4b2ebd4bdec/64" data-source="Import p4 labels into git, as per --import-labels." onmousemove="i18n(this)">&Icy;&mcy;&pcy;&ocy;&rcy;&tcy;&icy;&rcy;&ucy;&jcy;&tcy;&iecy; &mcy;&iecy;&tcy;&kcy;&icy; p4 &vcy; git, &kcy;&acy;&kcy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ocy; &vcy; --import-labels.</span></p> </dd> <dt id="Documentation/git-p4.txt-git-p4labelImportRegexp"><span data-i18n="88977c00758287baa662a52fbf05ac4e2aa8e4f91a9aa4544683206a8de468d1/b0" data-source="git-p4.labelImportRegexp" onmousemove="i18n(this)">git-p4.labelImportRegexp</span></dt> <dd> <p><span data-i18n="e379b9355747faa61790c8c2196f914c7d7ffad8b7c9b314a5202655dcfb5007/e7" data-source="Only p4 labels matching this regular expression will be imported. The default value is &lt;code&gt;[a-zA-Z0-9_\-.]+$&lt;/code&gt;." onmousemove="i18n(this)">&Bcy;&ucy;&dcy;&ucy;&tcy; &icy;&mcy;&pcy;&ocy;&rcy;&tcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ycy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &mcy;&iecy;&tcy;&kcy;&icy; p4, &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&icy;&iecy; &ecy;&tcy;&ocy;&mcy;&ucy; &rcy;&iecy;&gcy;&ucy;&lcy;&yacy;&rcy;&ncy;&ocy;&mcy;&ucy; &vcy;&ycy;&rcy;&acy;&zhcy;&iecy;&ncy;&icy;&yucy;. &Zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &mdash;  <code>[a-zA-Z0-9_\-.]+$</code> .</span></p> </dd> <dt id="Documentation/git-p4.txt-git-p4useClientSpec"><span data-i18n="dcb7523b818d99313f3ff8c908e2766b0a1277827595ee361bf13da0deb27afe/02" data-source="git-p4.useClientSpec" onmousemove="i18n(this)">git-p4.useClientSpec</span></dt> <dd> <p><span data-i18n="83ad62ecd788d792d214ff2985e070c5eee3bd9aeae3395f827bbea6b83331af/70" data-source="Specify that the p4 client spec should be used to identify p4 depot paths of interest. This is equivalent to specifying the option &lt;code&gt;--use-client-spec&lt;/code&gt;. See the &amp;quot;CLIENT SPEC&amp;quot; section above. This variable is a boolean, not the name of a p4 client." onmousemove="i18n(this)">&Ucy;&kcy;&acy;&zhcy;&icy;&tcy;&iecy;, &chcy;&tcy;&ocy; &scy;&pcy;&iecy;&tscy;&icy;&fcy;&icy;&kcy;&acy;&tscy;&icy;&yacy; &kcy;&lcy;&icy;&iecy;&ncy;&tcy;&acy; p4 &dcy;&ocy;&lcy;&zhcy;&ncy;&acy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy;&scy;&yacy; &dcy;&lcy;&yacy; &ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&iecy;&ncy;&icy;&yacy; &icy;&ncy;&tcy;&iecy;&rcy;&iecy;&scy;&ucy;&yucy;&shchcy;&icy;&khcy; &pcy;&ucy;&tcy;&iecy;&jcy; &kcy; &dcy;&iecy;&pcy;&ocy; p4. &Ecy;&tcy;&ocy; &ecy;&kcy;&vcy;&icy;&vcy;&acy;&lcy;&iecy;&ncy;&tcy;&ncy;&ocy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&icy;&yucy; &ocy;&pcy;&tscy;&icy;&icy;  <code>--use-client-spec</code> . &Scy;&mcy;. &rcy;&acy;&zcy;&dcy;&iecy;&lcy;  &quot;CLIENT SPEC&quot;  &vcy;&ycy;&shcy;&iecy;. &Ecy;&tcy;&acy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&acy;&yacy; &yacy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &lcy;&ocy;&gcy;&icy;&chcy;&iecy;&scy;&kcy;&icy;&mcy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy;&mcy;, &acy; &ncy;&iecy; &icy;&mcy;&iecy;&ncy;&iecy;&mcy; &kcy;&lcy;&icy;&iecy;&ncy;&tcy;&acy; p4.</span></p> </dd> <dt id="Documentation/git-p4.txt-git-p4pathEncoding"><span data-i18n="2c1faf2ff5defc976231383f567366316c597a8f4b51c48cf5ce62ff269893c1/be" data-source="git-p4.pathEncoding" onmousemove="i18n(this)">git-p4.pathEncoding</span></dt> <dd> <p><span data-i18n="a70cf36573eccb8757d88a9fb8cb70e28807f5603c1697270146d4f26653c557/9e" data-source="Perforce keeps the encoding of a path as given by the originating OS. Git expects paths encoded as UTF-8. Use this config to tell git-p4 what encoding Perforce had used for the paths. This encoding is used to transcode the paths to UTF-8. As an example, Perforce on Windows often uses &amp;quot;cp1252&amp;quot; to encode path names. If this option is passed into a p4 clone request, it is persisted in the resulting new git repo." onmousemove="i18n(this)">Perforce &scy;&ocy;&khcy;&rcy;&acy;&ncy;&yacy;&iecy;&tcy; &kcy;&ocy;&dcy;&icy;&rcy;&ocy;&vcy;&kcy;&ucy; &pcy;&ucy;&tcy;&icy;, &zcy;&acy;&dcy;&acy;&ncy;&ncy;&ucy;&yucy; &icy;&scy;&khcy;&ocy;&dcy;&ncy;&ocy;&jcy; &Ocy;&Scy;.  Git  &ocy;&zhcy;&icy;&dcy;&acy;&iecy;&tcy; &pcy;&ucy;&tcy;&icy; &vcy; &kcy;&ocy;&dcy;&icy;&rcy;&ocy;&vcy;&kcy;&iecy; UTF-8. &Icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&jcy;&tcy;&iecy; &ecy;&tcy;&ucy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&yucy;, &chcy;&tcy;&ocy;&bcy;&ycy; &scy;&ocy;&ocy;&bcy;&shchcy;&icy;&tcy;&softcy;  git  -p4, &kcy;&acy;&kcy;&ucy;&yucy; &kcy;&ocy;&dcy;&icy;&rcy;&ocy;&vcy;&kcy;&ucy; Perforce &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&lcy; &dcy;&lcy;&yacy; &pcy;&ucy;&tcy;&iecy;&jcy;. &Ecy;&tcy;&acy; &kcy;&ocy;&dcy;&icy;&rcy;&ocy;&vcy;&kcy;&acy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy; &dcy;&lcy;&yacy; &pcy;&iecy;&rcy;&iecy;&kcy;&ocy;&dcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &pcy;&ucy;&tcy;&iecy;&jcy; &vcy; UTF-8. &Ncy;&acy;&pcy;&rcy;&icy;&mcy;&iecy;&rcy;, Perforce &vcy; Windows &chcy;&acy;&scy;&tcy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;  &quot;cp1252&quot;  &dcy;&lcy;&yacy; &kcy;&ocy;&dcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &icy;&mcy;&iecy;&ncy; &pcy;&ucy;&tcy;&iecy;&jcy;. &IEcy;&scy;&lcy;&icy; &ecy;&tcy;&ocy;&tcy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy; &pcy;&iecy;&rcy;&iecy;&dcy;&acy;&iecy;&tcy;&scy;&yacy; &vcy; &zcy;&acy;&pcy;&rcy;&ocy;&scy; &ncy;&acy; &kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy; p4, &ocy;&ncy; &scy;&ocy;&khcy;&rcy;&acy;&ncy;&yacy;&iecy;&tcy;&scy;&yacy; &vcy; &pcy;&ocy;&lcy;&ucy;&chcy;&iecy;&ncy;&ncy;&ocy;&mcy; &ncy;&ocy;&vcy;&ocy;&mcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&icy;  git .</span></p> </dd> <dt id="Documentation/git-p4.txt-git-p4metadataDecodingStrategy"><span data-i18n="0c78cac3459f82edc0cde745328c85c22f4c95c313a87e0a4d0956f1f92b9b67/b3" data-source="git-p4.metadataDecodingStrategy" onmousemove="i18n(this)">git-p4.metadataDecodingStrategy</span></dt> <dd> <p><span data-i18n="9ad518c4fad72800b79d299f1e94fc8c397c9403b6d92a8023346d8859903805/f8" data-source="Perforce keeps the encoding of a changelist descriptions and user full names as stored by the client on a given OS. The p4v client uses the OS-local encoding, and so different users can end up storing different changelist descriptions or user full names in different encodings, in the same depot. Git tolerates inconsistent/incorrect encodings in commit messages and author names, but expects them to be specified in utf-8. git-p4 can use three different decoding strategies in handling the encoding uncertainty in Perforce: &lt;code&gt;passthrough&lt;/code&gt; simply passes the original bytes through from Perforce to git, creating usable but incorrectly-encoded data when the Perforce data is encoded as anything other than utf-8. &lt;code&gt;strict&lt;/code&gt; expects the Perforce data to be encoded as utf-8, and fails to import when this is not true. &lt;code&gt;fallback&lt;/code&gt; attempts to interpret the data as utf-8, and otherwise falls back to using a secondary encoding - by default the common windows encoding &lt;code&gt;cp-1252&lt;/code&gt; - with upper-range bytes escaped if decoding with the fallback encoding also fails. Under python2 the default strategy is &lt;code&gt;passthrough&lt;/code&gt; for historical reasons, and under python3 the default is &lt;code&gt;fallback&lt;/code&gt;. When &lt;code&gt;strict&lt;/code&gt; is selected and decoding fails, the error message will propose changing this config parameter as a workaround. If this option is passed into a p4 clone request, it is persisted into the resulting new git repo." onmousemove="i18n(this)">Perforce &scy;&ocy;&khcy;&rcy;&acy;&ncy;&yacy;&iecy;&tcy; &kcy;&ocy;&dcy;&icy;&rcy;&ocy;&vcy;&kcy;&ucy; &ocy;&pcy;&icy;&scy;&acy;&ncy;&icy;&jcy; &scy;&pcy;&icy;&scy;&kcy;&acy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&jcy; &icy; &pcy;&ocy;&lcy;&ncy;&ycy;&khcy; &icy;&mcy;&iecy;&ncy; &pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&iecy;&lcy;&iecy;&jcy;, &khcy;&rcy;&acy;&ncy;&yacy;&shchcy;&ucy;&yucy;&scy;&yacy; &kcy;&lcy;&icy;&iecy;&ncy;&tcy;&ocy;&mcy; &vcy; &dcy;&acy;&ncy;&ncy;&ocy;&jcy; &Ocy;&Scy;. &Kcy;&lcy;&icy;&iecy;&ncy;&tcy; p4v &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy; &lcy;&ocy;&kcy;&acy;&lcy;&softcy;&ncy;&ucy;&yucy; &dcy;&lcy;&yacy; &Ocy;&Scy; &kcy;&ocy;&dcy;&icy;&rcy;&ocy;&vcy;&kcy;&ucy;, &pcy;&ocy;&ecy;&tcy;&ocy;&mcy;&ucy; &rcy;&acy;&zcy;&ncy;&ycy;&iecy; &pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&iecy;&lcy;&icy; &mcy;&ocy;&gcy;&ucy;&tcy; &khcy;&rcy;&acy;&ncy;&icy;&tcy;&softcy; &rcy;&acy;&zcy;&ncy;&ycy;&iecy; &ocy;&pcy;&icy;&scy;&acy;&ncy;&icy;&yacy; &scy;&pcy;&icy;&scy;&kcy;&ocy;&vcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&jcy; &icy;&lcy;&icy; &pcy;&ocy;&lcy;&ncy;&ycy;&iecy; &icy;&mcy;&iecy;&ncy;&acy; &pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&iecy;&lcy;&iecy;&jcy; &vcy; &rcy;&acy;&zcy;&ncy;&ycy;&khcy; &kcy;&ocy;&dcy;&icy;&rcy;&ocy;&vcy;&kcy;&acy;&khcy; &vcy; &ocy;&dcy;&ncy;&ocy;&mcy; &icy; &tcy;&ocy;&mcy; &zhcy;&iecy; &khcy;&rcy;&acy;&ncy;&icy;&lcy;&icy;&shchcy;&iecy;.  Git  &dcy;&ocy;&pcy;&ucy;&scy;&kcy;&acy;&iecy;&tcy; &pcy;&rcy;&ocy;&tcy;&icy;&vcy;&ocy;&rcy;&iecy;&chcy;&icy;&vcy;&ycy;&iecy;/&ncy;&iecy;&pcy;&rcy;&acy;&vcy;&icy;&lcy;&softcy;&ncy;&ycy;&iecy; &kcy;&ocy;&dcy;&icy;&rcy;&ocy;&vcy;&kcy;&icy; &vcy; &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&yacy;&khcy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&icy; &icy; &icy;&mcy;&iecy;&ncy;&acy;&khcy; &acy;&vcy;&tcy;&ocy;&rcy;&ocy;&vcy;, &ncy;&ocy; &ocy;&zhcy;&icy;&dcy;&acy;&iecy;&tcy;, &chcy;&tcy;&ocy; &ocy;&ncy;&icy; &bcy;&ucy;&dcy;&ucy;&tcy; &ucy;&kcy;&acy;&zcy;&acy;&ncy;&ycy; &vcy; utf-8.  git  -p4 &mcy;&ocy;&zhcy;&iecy;&tcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &tcy;&rcy;&icy; &rcy;&acy;&zcy;&lcy;&icy;&chcy;&ncy;&ycy;&iecy; &scy;&tcy;&rcy;&acy;&tcy;&iecy;&gcy;&icy;&icy; &dcy;&iecy;&kcy;&ocy;&dcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &dcy;&lcy;&yacy; &ocy;&bcy;&rcy;&acy;&bcy;&ocy;&tcy;&kcy;&icy; &ncy;&iecy;&ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&iecy;&ncy;&ncy;&ocy;&scy;&tcy;&icy; &kcy;&ocy;&dcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &vcy; Perforce:  <code>passthrough</code>  &pcy;&rcy;&ocy;&scy;&tcy;&ocy; &pcy;&iecy;&rcy;&iecy;&dcy;&acy;&iecy;&tcy; &icy;&scy;&khcy;&ocy;&dcy;&ncy;&ycy;&iecy; &bcy;&acy;&jcy;&tcy;&ycy; &icy;&zcy; Perforce &vcy;  git , &scy;&ocy;&zcy;&dcy;&acy;&vcy;&acy;&yacy; &pcy;&rcy;&icy;&gcy;&ocy;&dcy;&ncy;&ycy;&iecy; &dcy;&lcy;&yacy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy;, &ncy;&ocy; &ncy;&iecy;&pcy;&rcy;&acy;&vcy;&icy;&lcy;&softcy;&ncy;&ocy; &zcy;&acy;&kcy;&ocy;&dcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ncy;&ycy;&iecy; &dcy;&acy;&ncy;&ncy;&ycy;&iecy;, &kcy;&ocy;&gcy;&dcy;&acy; &dcy;&acy;&ncy;&ncy;&ycy;&iecy; Perforce &zcy;&acy;&kcy;&ocy;&dcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ycy; &kcy;&acy;&kcy; &ucy;&gcy;&ocy;&dcy;&ncy;&ocy;, &kcy;&rcy;&ocy;&mcy;&iecy; utf-8.  <code>strict</code>  &ocy;&zhcy;&icy;&dcy;&acy;&iecy;&tcy;, &chcy;&tcy;&ocy; &dcy;&acy;&ncy;&ncy;&ycy;&iecy; Perforce &bcy;&ucy;&dcy;&ucy;&tcy; &zcy;&acy;&kcy;&ocy;&dcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ycy; &kcy;&acy;&kcy; utf-8, &icy; &ncy;&iecy; &mcy;&ocy;&zhcy;&iecy;&tcy; &icy;&mcy;&pcy;&ocy;&rcy;&tcy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy;, &iecy;&scy;&lcy;&icy; &ecy;&tcy;&ocy; &ncy;&iecy; &tcy;&acy;&kcy;.  <code>fallback</code>  &pcy;&ycy;&tcy;&acy;&iecy;&tcy;&scy;&yacy; &icy;&ncy;&tcy;&iecy;&rcy;&pcy;&rcy;&iecy;&tcy;&icy;&rcy;&ocy;&vcy;&acy;&tcy;&softcy; &dcy;&acy;&ncy;&ncy;&ycy;&iecy; &kcy;&acy;&kcy; utf-8, &acy; &vcy; &pcy;&rcy;&ocy;&tcy;&icy;&vcy;&ncy;&ocy;&mcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy; &vcy;&ocy;&zcy;&vcy;&rcy;&acy;&shchcy;&acy;&iecy;&tcy;&scy;&yacy; &kcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&yucy; &vcy;&tcy;&ocy;&rcy;&icy;&chcy;&ncy;&ocy;&jcy; &kcy;&ocy;&dcy;&icy;&rcy;&ocy;&vcy;&kcy;&icy; &mdash; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &ocy;&bcy;&shchcy;&iecy;&jcy; &kcy;&ocy;&dcy;&icy;&rcy;&ocy;&vcy;&kcy;&icy; Windows  <code>cp-1252</code>  &mdash; &scy; &ecy;&kcy;&rcy;&acy;&ncy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy;&mcy; &bcy;&acy;&jcy;&tcy;&ocy;&vcy; &vcy;&iecy;&rcy;&khcy;&ncy;&iecy;&gcy;&ocy; &dcy;&icy;&acy;&pcy;&acy;&zcy;&ocy;&ncy;&acy;, &iecy;&scy;&lcy;&icy; &dcy;&iecy;&kcy;&ocy;&dcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy; &scy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy;&mcy; &rcy;&iecy;&zcy;&iecy;&rcy;&vcy;&ncy;&ocy;&jcy; &kcy;&ocy;&dcy;&icy;&rcy;&ocy;&vcy;&kcy;&icy; &tcy;&acy;&kcy;&zhcy;&iecy; &zcy;&acy;&vcy;&iecy;&rcy;&shcy;&acy;&iecy;&tcy;&scy;&yacy; &ncy;&iecy;&ucy;&dcy;&acy;&chcy;&iecy;&jcy;. &Vcy; Python2 &scy;&tcy;&rcy;&acy;&tcy;&iecy;&gcy;&icy;&iecy;&jcy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &yacy;&vcy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy;  <code>passthrough</code>  &pcy;&ocy; &icy;&scy;&tcy;&ocy;&rcy;&icy;&chcy;&iecy;&scy;&kcy;&icy;&mcy; &pcy;&rcy;&icy;&chcy;&icy;&ncy;&acy;&mcy;, &acy; &vcy; Python3 &mdash;  <code>fallback</code> . &IEcy;&scy;&lcy;&icy; &vcy;&ycy;&bcy;&rcy;&acy;&ncy;  <code>strict</code>  &icy; &dcy;&iecy;&kcy;&ocy;&dcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy; &zcy;&acy;&vcy;&iecy;&rcy;&shcy;&acy;&iecy;&tcy;&scy;&yacy; &ncy;&iecy;&ucy;&dcy;&acy;&chcy;&iecy;&jcy;, &vcy; &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&icy; &ocy;&bcy; &ocy;&shcy;&icy;&bcy;&kcy;&iecy; &bcy;&ucy;&dcy;&iecy;&tcy; &pcy;&rcy;&iecy;&dcy;&lcy;&ocy;&zhcy;&iecy;&ncy;&ocy; &icy;&zcy;&mcy;&iecy;&ncy;&icy;&tcy;&softcy; &ecy;&tcy;&ocy;&tcy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy; &vcy; &kcy;&acy;&chcy;&iecy;&scy;&tcy;&vcy;&iecy; &ocy;&bcy;&khcy;&ocy;&dcy;&ncy;&ocy;&gcy;&ocy; &pcy;&ucy;&tcy;&icy;. &IEcy;&scy;&lcy;&icy; &ecy;&tcy;&ocy;&tcy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy; &pcy;&iecy;&rcy;&iecy;&dcy;&acy;&iecy;&tcy;&scy;&yacy; &vcy; &zcy;&acy;&pcy;&rcy;&ocy;&scy; &ncy;&acy; &kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy; p4, &ocy;&ncy; &scy;&ocy;&khcy;&rcy;&acy;&ncy;&yacy;&iecy;&tcy;&scy;&yacy; &vcy; &pcy;&ocy;&lcy;&ucy;&chcy;&iecy;&ncy;&ncy;&ocy;&mcy; &ncy;&ocy;&vcy;&ocy;&mcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&icy;  git .</span></p> </dd> <dt id="Documentation/git-p4.txt-git-p4metadataFallbackEncoding"><span data-i18n="196361f2d63abc1fb59b6af04f4ece0d52b1f0a5c7fbc96c59649b34f4d05871/63" data-source="git-p4.metadataFallbackEncoding" onmousemove="i18n(this)">git-p4.metadataFallbackEncoding</span></dt> <dd> <p><span data-i18n="13436c9e215d048e950a174eca93ac2ea1bef287e93392bbb3a4ecbd1aa53e95/27" data-source="Specify the fallback encoding to use when decoding Perforce author names and changelists descriptions using the &lt;code&gt;fallback&lt;/code&gt; strategy (see git-p4.metadataDecodingStrategy). The fallback encoding will only be used when decoding as utf-8 fails. This option defaults to cp1252, a common windows encoding. If this option is passed into a p4 clone request, it is persisted into the resulting new git repo." onmousemove="i18n(this)">&Ucy;&kcy;&acy;&zhcy;&icy;&tcy;&iecy; &rcy;&iecy;&zcy;&iecy;&rcy;&vcy;&ncy;&ucy;&yucy; &kcy;&ocy;&dcy;&icy;&rcy;&ocy;&vcy;&kcy;&ucy;, &kcy;&ocy;&tcy;&ocy;&rcy;&acy;&yacy; &bcy;&ucy;&dcy;&iecy;&tcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy;&scy;&yacy; &pcy;&rcy;&icy; &dcy;&iecy;&kcy;&ocy;&dcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&icy; &icy;&mcy;&iecy;&ncy; &acy;&vcy;&tcy;&ocy;&rcy;&ocy;&vcy; Perforce &icy; &ocy;&pcy;&icy;&scy;&acy;&ncy;&icy;&jcy; &scy;&pcy;&icy;&scy;&kcy;&ocy;&vcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&jcy; &scy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy;&mcy; &scy;&tcy;&rcy;&acy;&tcy;&iecy;&gcy;&icy;&icy;  <code>fallback</code>  (&scy;&mcy;.  git  -p4.metadataDecodingStrategy). &Rcy;&iecy;&zcy;&iecy;&rcy;&vcy;&ncy;&acy;&yacy; &kcy;&ocy;&dcy;&icy;&rcy;&ocy;&vcy;&kcy;&acy; &bcy;&ucy;&dcy;&iecy;&tcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy;&scy;&yacy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &vcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy; &scy;&bcy;&ocy;&yacy; &dcy;&iecy;&kcy;&ocy;&dcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &vcy; &fcy;&ocy;&rcy;&mcy;&acy;&tcy;&iecy; utf-8. &Pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &dcy;&lcy;&yacy; &ecy;&tcy;&ocy;&jcy; &ocy;&pcy;&tscy;&icy;&icy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy; cp1252, &scy;&tcy;&acy;&ncy;&dcy;&acy;&rcy;&tcy;&ncy;&acy;&yacy; &kcy;&ocy;&dcy;&icy;&rcy;&ocy;&vcy;&kcy;&acy; Windows. &IEcy;&scy;&lcy;&icy; &ecy;&tcy;&ocy;&tcy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy; &pcy;&iecy;&rcy;&iecy;&dcy;&acy;&iecy;&tcy;&scy;&yacy; &vcy; &zcy;&acy;&pcy;&rcy;&ocy;&scy; &ncy;&acy; &kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&iecy; p4, &ocy;&ncy; &scy;&ocy;&khcy;&rcy;&acy;&ncy;&yacy;&iecy;&tcy;&scy;&yacy; &vcy; &pcy;&ocy;&lcy;&ucy;&chcy;&iecy;&ncy;&ncy;&ocy;&mcy; &ncy;&ocy;&vcy;&ocy;&mcy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&icy;  git .</span></p> </dd> <dt id="Documentation/git-p4.txt-git-p4largeFileSystem"><span data-i18n="2e71c2f0b6a5b10f8b2790c6980d4e899b1b9bdfa27986be7a3170e43c7f8a62/3b" data-source="git-p4.largeFileSystem" onmousemove="i18n(this)">git-p4.largeFileSystem</span></dt> <dd> <p><span data-i18n="6e4e4618ae9dedaf9246ad6314920e2fe0a976832db83269c079b69264ed548b/b9" data-source="Specify the system that is used for large (binary) files. Please note that large file systems do not support the &lt;code&gt;git p4 submit&lt;/code&gt; command. Only Git LFS is implemented right now (see &lt;a href=&quot;https://git-lfs.github.com/&quot;&gt;https://git-lfs.github.com/&lt;/a&gt; for more information). Download and install the Git LFS command line extension to use this option and configure it like this:" onmousemove="i18n(this)">&Ucy;&kcy;&acy;&zhcy;&icy;&tcy;&iecy; &scy;&icy;&scy;&tcy;&iecy;&mcy;&ucy;, &kcy;&ocy;&tcy;&ocy;&rcy;&acy;&yacy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy; &dcy;&lcy;&yacy; &bcy;&ocy;&lcy;&softcy;&shcy;&icy;&khcy; (&dcy;&vcy;&ocy;&icy;&chcy;&ncy;&ycy;&khcy;) &fcy;&acy;&jcy;&lcy;&ocy;&vcy;. &Ocy;&bcy;&rcy;&acy;&tcy;&icy;&tcy;&iecy; &vcy;&ncy;&icy;&mcy;&acy;&ncy;&icy;&iecy;, &chcy;&tcy;&ocy; &bcy;&ocy;&lcy;&softcy;&shcy;&icy;&iecy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy;&ycy;&iecy; &scy;&icy;&scy;&tcy;&iecy;&mcy;&ycy; &ncy;&iecy; &pcy;&ocy;&dcy;&dcy;&iecy;&rcy;&zhcy;&icy;&vcy;&acy;&yucy;&tcy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ucy;  <code>git p4 submit</code> . &Ncy;&acy; &dcy;&acy;&ncy;&ncy;&ycy;&jcy; &mcy;&ocy;&mcy;&iecy;&ncy;&tcy; &rcy;&iecy;&acy;&lcy;&icy;&zcy;&ocy;&vcy;&acy;&ncy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy;  Git  LFS (&dcy;&ocy;&pcy;&ocy;&lcy;&ncy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ucy;&yucy; &icy;&ncy;&fcy;&ocy;&rcy;&mcy;&acy;&tscy;&icy;&yucy; &scy;&mcy;. &vcy;  <a href="https://git-lfs.github.com/">https://git-lfs.github.com/</a> ). &Zcy;&acy;&gcy;&rcy;&ucy;&zcy;&icy;&tcy;&iecy; &icy; &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&icy;&tcy;&iecy; &rcy;&acy;&scy;&shcy;&icy;&rcy;&iecy;&ncy;&icy;&iecy; &kcy;&ocy;&mcy;&acy;&ncy;&dcy;&ncy;&ocy;&jcy; &scy;&tcy;&rcy;&ocy;&kcy;&icy;  Git  LFS, &chcy;&tcy;&ocy;&bcy;&ycy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &ecy;&tcy;&ucy; &ocy;&pcy;&tscy;&icy;&yucy;, &icy; &ncy;&acy;&scy;&tcy;&rcy;&ocy;&jcy;&tcy;&iecy; &iecy;&gcy;&ocy; &scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&icy;&mcy; &ocy;&bcy;&rcy;&acy;&zcy;&ocy;&mcy;:</span></p> <div> <div> <pre class="hljs language-lua">git <span class="hljs-built_in">config</span>       git-p4.largeFileSystem GitLFS</pre> </div> </div> </dd> <dt id="Documentation/git-p4.txt-git-p4largeFileExtensions"><span data-i18n="bfb9b9b427380913b73a3e9ec852bf9505f1fce07d81330d9eaa93277f07beb8/9c" data-source="git-p4.largeFileExtensions" onmousemove="i18n(this)">git-p4.largeFileExtensions</span></dt> <dd> <p><span data-i18n="4bfc2c6a9f75390684eac05c446922c725ee3155ff5d5cfd141e15ef495b5e0c/75" data-source="All files matching a file extension in the list will be processed by the large file system. Do not prefix the extensions with &lt;code&gt;.&lt;/code&gt;." onmousemove="i18n(this)">&Vcy;&scy;&iecy; &fcy;&acy;&jcy;&lcy;&ycy;, &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&icy;&iecy; &rcy;&acy;&scy;&shcy;&icy;&rcy;&iecy;&ncy;&icy;&yucy; &fcy;&acy;&jcy;&lcy;&acy; &vcy; &scy;&pcy;&icy;&scy;&kcy;&iecy;, &bcy;&ucy;&dcy;&ucy;&tcy; &ocy;&bcy;&rcy;&acy;&bcy;&ocy;&tcy;&acy;&ncy;&ycy; &bcy;&ocy;&lcy;&softcy;&shcy;&ocy;&jcy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy;&ocy;&jcy; &scy;&icy;&scy;&tcy;&iecy;&mcy;&ocy;&jcy;. &Ncy;&iecy; &dcy;&ocy;&bcy;&acy;&vcy;&lcy;&yacy;&jcy;&tcy;&iecy; &kcy; &rcy;&acy;&scy;&shcy;&icy;&rcy;&iecy;&ncy;&icy;&yacy;&mcy; &pcy;&rcy;&iecy;&fcy;&icy;&kcy;&scy;  <code>.</code> .</span></p> </dd> <dt id="Documentation/git-p4.txt-git-p4largeFileThreshold"><span data-i18n="636fa304f49a3543f441c85e14e04a47ed26a66ca15c1a19ab0c5b9d6704a442/06" data-source="git-p4.largeFileThreshold" onmousemove="i18n(this)">git-p4.largeFileThreshold</span></dt> <dd> <p><span data-i18n="2b2878efd37fc39042cb79567329cf4a61fd68b5e37d0e5c39dda19e6ff9c139/96" data-source="All files with an uncompressed size exceeding the threshold will be processed by the large file system. By default the threshold is defined in bytes. Add the suffix k, m, or g to change the unit." onmousemove="i18n(this)">&Vcy;&scy;&iecy; &fcy;&acy;&jcy;&lcy;&ycy;, &rcy;&acy;&zcy;&mcy;&iecy;&rcy; &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&khcy; &vcy; &ncy;&iecy;&scy;&zhcy;&acy;&tcy;&ocy;&mcy; &vcy;&icy;&dcy;&iecy; &pcy;&rcy;&iecy;&vcy;&ycy;&shcy;&acy;&iecy;&tcy; &pcy;&ocy;&rcy;&ocy;&gcy;&ocy;&vcy;&ocy;&iecy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy;, &bcy;&ucy;&dcy;&ucy;&tcy; &ocy;&bcy;&rcy;&acy;&bcy;&ocy;&tcy;&acy;&ncy;&ycy; &bcy;&ocy;&lcy;&softcy;&shcy;&ocy;&jcy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy;&ocy;&jcy; &scy;&icy;&scy;&tcy;&iecy;&mcy;&ocy;&jcy;. &Pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &pcy;&ocy;&rcy;&ocy;&gcy; &ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &vcy; &bcy;&acy;&jcy;&tcy;&acy;&khcy;. &Dcy;&ocy;&bcy;&acy;&vcy;&softcy;&tcy;&iecy; &scy;&ucy;&fcy;&fcy;&icy;&kcy;&scy; k, m &icy;&lcy;&icy; g, &chcy;&tcy;&ocy;&bcy;&ycy; &icy;&zcy;&mcy;&iecy;&ncy;&icy;&tcy;&softcy; &iecy;&dcy;&icy;&ncy;&icy;&tscy;&ucy; &icy;&zcy;&mcy;&iecy;&rcy;&iecy;&ncy;&icy;&yacy;.</span></p> </dd> <dt id="Documentation/git-p4.txt-git-p4largeFileCompressedThreshold"><span data-i18n="753b79896d85b0ed7a3cb86b4a413f221d02b7c6ef8302383cc5a07b458c675a/64" data-source="git-p4.largeFileCompressedThreshold" onmousemove="i18n(this)">git-p4.largeFileCompressedThreshold</span></dt> <dd> <p><span data-i18n="75238959e5176d3bd3ae48616a0fb6872f43fec1fe358056e44c0eeadcf7f9b4/0b" data-source="All files with a compressed size exceeding the threshold will be processed by the large file system. This option might slow down your clone/sync process. By default the threshold is defined in bytes. Add the suffix k, m, or g to change the unit." onmousemove="i18n(this)">&Vcy;&scy;&iecy; &fcy;&acy;&jcy;&lcy;&ycy; &scy;&ocy; &scy;&zhcy;&acy;&tcy;&ycy;&mcy; &rcy;&acy;&zcy;&mcy;&iecy;&rcy;&ocy;&mcy;, &pcy;&rcy;&iecy;&vcy;&ycy;&shcy;&acy;&yucy;&shchcy;&icy;&mcy; &pcy;&ocy;&rcy;&ocy;&gcy;&ocy;&vcy;&ocy;&iecy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy;, &bcy;&ucy;&dcy;&ucy;&tcy; &ocy;&bcy;&rcy;&acy;&bcy;&ocy;&tcy;&acy;&ncy;&ycy; &bcy;&ocy;&lcy;&softcy;&shcy;&ocy;&jcy; &fcy;&acy;&jcy;&lcy;&ocy;&vcy;&ocy;&jcy; &scy;&icy;&scy;&tcy;&iecy;&mcy;&ocy;&jcy;. &Ecy;&tcy;&acy; &ocy;&pcy;&tscy;&icy;&yacy; &mcy;&ocy;&zhcy;&iecy;&tcy; &zcy;&acy;&mcy;&iecy;&dcy;&lcy;&icy;&tcy;&softcy; &pcy;&rcy;&ocy;&tscy;&iecy;&scy;&scy; &kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy;/&scy;&icy;&ncy;&khcy;&rcy;&ocy;&ncy;&icy;&zcy;&acy;&tscy;&icy;&icy;. &Pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &pcy;&ocy;&rcy;&ocy;&gcy; &ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&yacy;&iecy;&tcy;&scy;&yacy; &vcy; &bcy;&acy;&jcy;&tcy;&acy;&khcy;. &Dcy;&ocy;&bcy;&acy;&vcy;&softcy;&tcy;&iecy; &scy;&ucy;&fcy;&fcy;&icy;&kcy;&scy; k, m &icy;&lcy;&icy; g, &chcy;&tcy;&ocy;&bcy;&ycy; &icy;&zcy;&mcy;&iecy;&ncy;&icy;&tcy;&softcy; &iecy;&dcy;&icy;&ncy;&icy;&tscy;&ucy; &icy;&zcy;&mcy;&iecy;&rcy;&iecy;&ncy;&icy;&yacy;.</span></p> </dd> <dt id="Documentation/git-p4.txt-git-p4largeFilePush"><span data-i18n="fde2a1d3f10156709dcbac3623098d9b4da7c864d8eaf12f32b07582a9ed6349/6a" data-source="git-p4.largeFilePush" onmousemove="i18n(this)">git-p4.largeFilePush</span></dt> <dd> <p><span data-i18n="93331736f7389fa23612ff63cd2ec3aba3a855ee5b254fc5c0fd93e3ec8f56d2/18" data-source="Boolean variable which defines if large files are automatically pushed to a server." onmousemove="i18n(this)">&Pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&acy;&yacy;  Boolean , &kcy;&ocy;&tcy;&ocy;&rcy;&acy;&yacy; &ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&yacy;&iecy;&tcy;, &bcy;&ucy;&dcy;&ucy;&tcy; &lcy;&icy; &bcy;&ocy;&lcy;&softcy;&shcy;&icy;&iecy; &fcy;&acy;&jcy;&lcy;&ycy; &acy;&vcy;&tcy;&ocy;&mcy;&acy;&tcy;&icy;&chcy;&iecy;&scy;&kcy;&icy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&lcy;&yacy;&tcy;&softcy;&scy;&yacy; &ncy;&acy; &scy;&iecy;&rcy;&vcy;&iecy;&rcy;.</span></p> </dd> <dt id="Documentation/git-p4.txt-git-p4keepEmptyCommits"><span data-i18n="b921cfaba1ec096cb03635cb16324a066c8af348825303debae7179f82b74405/6d" data-source="git-p4.keepEmptyCommits" onmousemove="i18n(this)">git-p4.keepEmptyCommits</span></dt> <dd> <p><span data-i18n="db617dfa6535fb04028eae1af170a1cebf76aaf75fbe26beef4060956265aea9/9d" data-source="A changelist that contains only excluded files will be imported as an empty commit if this boolean option is set to true." onmousemove="i18n(this)">&Scy;&pcy;&icy;&scy;&ocy;&kcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&jcy;, &scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&acy;&shchcy;&icy;&jcy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &icy;&scy;&kcy;&lcy;&yucy;&chcy;&iecy;&ncy;&ncy;&ycy;&iecy; &fcy;&acy;&jcy;&lcy;&ycy;, &bcy;&ucy;&dcy;&iecy;&tcy; &icy;&mcy;&pcy;&ocy;&rcy;&tcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy; &kcy;&acy;&kcy; &pcy;&ucy;&scy;&tcy;&acy;&yacy; &fcy;&icy;&kcy;&scy;&acy;&tscy;&icy;&yacy;, &iecy;&scy;&lcy;&icy; &dcy;&lcy;&yacy; &ecy;&tcy;&ocy;&gcy;&ocy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy;&acy;  boolean  &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&ocy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy; true.</span></p> </dd> <dt id="Documentation/git-p4.txt-git-p4mapUser"><span data-i18n="2aafa7156b05e8eec532c723fbaca5962cfb3b230545167704b96a98cf70f17f/1a" data-source="git-p4.mapUser" onmousemove="i18n(this)">git-p4.mapUser</span></dt> <dd> <p><span data-i18n="7b87912ed68216b73f619fa658c50d2f0f761a83e5f4417a69298b13396af03a/aa" data-source="Map a P4 user to a name and email address in Git. Use a string with the following format to create a mapping:" onmousemove="i18n(this)">&Scy;&ocy;&pcy;&ocy;&scy;&tcy;&acy;&vcy;&softcy;&tcy;&iecy; &pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&iecy;&lcy;&yacy; P4 &scy; &icy;&mcy;&iecy;&ncy;&iecy;&mcy; &icy; &acy;&dcy;&rcy;&iecy;&scy;&ocy;&mcy; &ecy;&lcy;&iecy;&kcy;&tcy;&rcy;&ocy;&ncy;&ncy;&ocy;&jcy; &pcy;&ocy;&chcy;&tcy;&ycy; &vcy; Git. &Dcy;&lcy;&yacy; &scy;&ocy;&zcy;&dcy;&acy;&ncy;&icy;&yacy; &scy;&ocy;&pcy;&ocy;&scy;&tcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&yacy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&jcy;&tcy;&iecy; &scy;&tcy;&rcy;&ocy;&kcy;&ucy; &scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&iecy;&gcy;&ocy; &fcy;&ocy;&rcy;&mcy;&acy;&tcy;&acy;:</span></p> <div> <div> <pre class="hljs language-csharp">git config --<span class="hljs-keyword">add</span> git-p4.mapUser <span class="hljs-string">&quot;p4user = First Last &lt;<a href="https://runebook.dev/cdn-cgi/l/email-protection" class="__cf_email__" data-cfemail="abc6cac2c7ebcacfcfd9ced8d885c8c4c6">[email&#160;protected]</a>&gt;&quot;</span></pre> </div> </div> <p><span data-i18n="6b658d888d3848397fe7d633eb4a72a7199a6d021e561d5ad5dfa78222ecbeaf/a2" data-source="A mapping will override any user information from P4. Mappings for multiple P4 user can be defined." onmousemove="i18n(this)">&Scy;&ocy;&pcy;&ocy;&scy;&tcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&iecy; &pcy;&iecy;&rcy;&iecy;&ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&yacy;&iecy;&tcy; &lcy;&yucy;&bcy;&ucy;&yucy; &pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&iecy;&lcy;&softcy;&scy;&kcy;&ucy;&yucy; &icy;&ncy;&fcy;&ocy;&rcy;&mcy;&acy;&tscy;&icy;&yucy; &icy;&zcy; P4. &Mcy;&ocy;&zhcy;&ncy;&ocy; &ocy;&pcy;&rcy;&iecy;&dcy;&iecy;&lcy;&icy;&tcy;&softcy; &scy;&ocy;&pcy;&ocy;&scy;&tcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&yacy; &dcy;&lcy;&yacy; &ncy;&iecy;&scy;&kcy;&ocy;&lcy;&softcy;&kcy;&icy;&khcy; &pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&iecy;&lcy;&iecy;&jcy; P4.</span></p> </dd> </dl> </div> </div> <div> <h3 class="text-body-emphasis"  id="_submit_variables"><span data-i18n="e14b50d7cb6432195a41d72d6d39c07e22abf18b3d71cf2c709c187f65a520bb/ba" data-source="Submit variables" onmousemove="i18n(this)">Submit variables</span></h3> <div> <dl> <dt id="Documentation/git-p4.txt-git-p4detectRenames"><span data-i18n="5bef0d5d2ce0f5901814589c4a30ee812591999ee451e890022915af9c6a0282/c0" data-source="git-p4.detectRenames" onmousemove="i18n(this)">git-p4.detectRenames</span></dt> <dd> <p><span data-i18n="2dd1a071dd7b14028c6e1e5e34ad2ada9454d97b0c62a4271703dcc96cb2326a/65" data-source="Detect renames. See &lt;a href=&quot;git-diff&quot;&gt;git-diff[1]&lt;/a&gt;. This can be true, false, or a score as expected by &lt;code&gt;git diff -M&lt;/code&gt;." onmousemove="i18n(this)">&Ocy;&bcy;&ncy;&acy;&rcy;&ucy;&zhcy;&iecy;&ncy;&icy;&iecy; &pcy;&iecy;&rcy;&iecy;&icy;&mcy;&iecy;&ncy;&ocy;&vcy;&acy;&ncy;&icy;&jcy;. &Scy;&mcy;.  <a href="git-diff.html">git-diff[1]</a> . &Ecy;&tcy;&ocy; &mcy;&ocy;&zhcy;&iecy;&tcy; &bcy;&ycy;&tcy;&softcy; &icy;&scy;&tcy;&icy;&ncy;&acy;, &lcy;&ocy;&zhcy;&softcy; &icy;&lcy;&icy; &ocy;&tscy;&iecy;&ncy;&kcy;&acy;, &ocy;&zhcy;&icy;&dcy;&acy;&iecy;&mcy;&acy;&yacy;  <code>git diff -M</code>  .</span></p> </dd> <dt id="Documentation/git-p4.txt-git-p4detectCopies"><span data-i18n="627d62a9125eb39b48511ca0e5d70761da7357582cf0f13ff62dd10ab7c977c7/68" data-source="git-p4.detectCopies" onmousemove="i18n(this)">git-p4.detectCopies</span></dt> <dd> <p><span data-i18n="e5e7a31e36649d6e11b33ebebdab04d8ffd138b46a79ba03b1f538bd50fb8427/af" data-source="Detect copies. See &lt;a href=&quot;git-diff&quot;&gt;git-diff[1]&lt;/a&gt;. This can be true, false, or a score as expected by &lt;code&gt;git diff -C&lt;/code&gt;." onmousemove="i18n(this)">&Ocy;&bcy;&ncy;&acy;&rcy;&ucy;&zhcy;&iecy;&ncy;&icy;&iecy; &kcy;&ocy;&pcy;&icy;&jcy;. &Scy;&mcy;.  <a href="git-diff.html">git-diff[1]</a> . &Ecy;&tcy;&ocy; &mcy;&ocy;&zhcy;&iecy;&tcy; &bcy;&ycy;&tcy;&softcy; &icy;&scy;&tcy;&icy;&ncy;&acy;, &lcy;&ocy;&zhcy;&softcy; &icy;&lcy;&icy; &ocy;&tscy;&iecy;&ncy;&kcy;&acy;, &ocy;&zhcy;&icy;&dcy;&acy;&iecy;&mcy;&acy;&yacy;  <code>git diff -C</code>  .</span></p> </dd> <dt id="Documentation/git-p4.txt-git-p4detectCopiesHarder"><span data-i18n="d3df0454acc9934e8f2bc1c36f9854bb42f8dc212a5ecfcbcf2fd685ac768186/1a" data-source="git-p4.detectCopiesHarder" onmousemove="i18n(this)">git-p4.detectCopiesHarder</span></dt> <dd> <p><span data-i18n="a929a4347c6e9a0bdbe97291f308b7e43c71906de03e27908b79b97f2718d615/1b" data-source="Detect copies harder. See &lt;a href=&quot;git-diff&quot;&gt;git-diff[1]&lt;/a&gt;. A boolean." onmousemove="i18n(this)">&Ocy;&bcy;&ncy;&acy;&rcy;&ucy;&zhcy;&icy;&vcy;&acy;&tcy;&softcy; &kcy;&ocy;&pcy;&icy;&icy; &scy;&lcy;&ocy;&zhcy;&ncy;&iecy;&iecy;. &Scy;&mcy;.  <a href="git-diff.html">git-diff[1]</a> . &Lcy;&ocy;&gcy;&icy;&chcy;&iecy;&scy;&kcy;&ocy;&iecy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy;.</span></p> </dd> <dt id="Documentation/git-p4.txt-git-p4preserveUser"><span data-i18n="6d1c9a64a461336d3ea43cc39b50bd3914b52fbcc35ee5129e6eaaaa76bd57c9/b7" data-source="git-p4.preserveUser" onmousemove="i18n(this)">git-p4.preserveUser</span></dt> <dd> <p><span data-i18n="fff566a274f97898248313bb8c83ff08e23972052a4b8b0eb3aeef81493619a3/38" data-source="On submit, re-author changes to reflect the Git author, regardless of who invokes &lt;code&gt;git p4 submit&lt;/code&gt;." onmousemove="i18n(this)">&Pcy;&rcy;&icy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&kcy;&iecy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &pcy;&iecy;&rcy;&iecy;&pcy;&icy;&scy;&ycy;&vcy;&acy;&yucy;&tcy;&scy;&yacy;, &chcy;&tcy;&ocy;&bcy;&ycy; &ocy;&tcy;&rcy;&acy;&zcy;&icy;&tcy;&softcy; &acy;&vcy;&tcy;&ocy;&rcy;&acy;  Git , &ncy;&iecy;&zcy;&acy;&vcy;&icy;&scy;&icy;&mcy;&ocy; &ocy;&tcy; &tcy;&ocy;&gcy;&ocy;, &kcy;&tcy;&ocy; &vcy;&ycy;&zcy;&ycy;&vcy;&acy;&iecy;&tcy;  <code>git p4 submit</code>  .</span></p> </dd> <dt id="Documentation/git-p4.txt-git-p4allowMissingP4Users"><span data-i18n="d38182b688d580cea0292620cd057b2ce318c43f8021894db8304ba3a601c746/f8" data-source="git-p4.allowMissingP4Users" onmousemove="i18n(this)">git-p4.allowMissingP4Users</span></dt> <dd> <p><span data-i18n="34b64193918e9bda824db62a1e89c56a19ccb7e38154c1f01b6d812c0db85a0b/be" data-source="When &lt;code&gt;preserveUser&lt;/code&gt; is true, &lt;code&gt;git p4&lt;/code&gt; normally dies if it cannot find an author in the p4 user map. This setting submits the change regardless." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy;  <code>preserveUser</code>  &icy;&mcy;&iecy;&iecy;&tcy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy; true,  <code>git p4</code>  &ocy;&bcy;&ycy;&chcy;&ncy;&ocy; &ucy;&mcy;&icy;&rcy;&acy;&iecy;&tcy;, &iecy;&scy;&lcy;&icy; &ncy;&iecy; &mcy;&ocy;&zhcy;&iecy;&tcy; &ncy;&acy;&jcy;&tcy;&icy; &acy;&vcy;&tcy;&ocy;&rcy;&acy; &vcy; &kcy;&acy;&rcy;&tcy;&iecy; &pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&iecy;&lcy;&iecy;&jcy; p4. &Ecy;&tcy;&ocy;&tcy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy; &scy;&ocy;&khcy;&rcy;&acy;&ncy;&yacy;&iecy;&tcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &ncy;&iecy;&zcy;&acy;&vcy;&icy;&scy;&icy;&mcy;&ocy; &ocy;&tcy; &ecy;&tcy;&ocy;&gcy;&ocy;.</span></p> </dd> <dt id="Documentation/git-p4.txt-git-p4skipSubmitEdit"><span data-i18n="1fd23968c92630e15b7a6bac1d0c68ce940eef38b9725a9cdcdae7b1e41680ac/de" data-source="git-p4.skipSubmitEdit" onmousemove="i18n(this)">git-p4.skipSubmitEdit</span></dt> <dd> <p><span data-i18n="ec3795fafddb94a346f49e4739068138380450b830e8b56201c131b2460e8ea9/c4" data-source="The submit process invokes the editor before each p4 change is submitted. If this setting is true, though, the editing step is skipped." onmousemove="i18n(this)">&Pcy;&rcy;&ocy;&tscy;&iecy;&scy;&scy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&kcy;&icy; &vcy;&ycy;&zcy;&ycy;&vcy;&acy;&iecy;&tcy; &rcy;&iecy;&dcy;&acy;&kcy;&tcy;&ocy;&rcy; &pcy;&iecy;&rcy;&iecy;&dcy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&kcy;&ocy;&jcy; &kcy;&acy;&zhcy;&dcy;&ocy;&gcy;&ocy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; p4. &Ocy;&dcy;&ncy;&acy;&kcy;&ocy; &iecy;&scy;&lcy;&icy; &ecy;&tcy;&ocy;&tcy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy; &icy;&mcy;&iecy;&iecy;&tcy; &zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy; true, &shcy;&acy;&gcy; &rcy;&iecy;&dcy;&acy;&kcy;&tcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &pcy;&rcy;&ocy;&pcy;&ucy;&scy;&kcy;&acy;&iecy;&tcy;&scy;&yacy;.</span></p> </dd> <dt id="Documentation/git-p4.txt-git-p4skipSubmitEditCheck"><span data-i18n="b1eeafcaae5765ae0c8f333b9e9855a528759bbf3a6bde2e48730cdd4a9ab57d/1c" data-source="git-p4.skipSubmitEditCheck" onmousemove="i18n(this)">git-p4.skipSubmitEditCheck</span></dt> <dd> <p><span data-i18n="df7960a27861f6979a1bcf3e9125930e04b4c726b35bc8c014226590ae9798c3/92" data-source="After editing the p4 change message, &lt;code&gt;git p4&lt;/code&gt; makes sure that the description really was changed by looking at the file modification time. This option disables that test." onmousemove="i18n(this)">&Pcy;&ocy;&scy;&lcy;&iecy; &rcy;&iecy;&dcy;&acy;&kcy;&tcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&yacy; &ocy;&bcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&icy; p4  <code>git p4</code>  &pcy;&rcy;&ocy;&vcy;&iecy;&rcy;&yacy;&iecy;&tcy;, &dcy;&iecy;&jcy;&scy;&tcy;&vcy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy; &lcy;&icy; &ocy;&pcy;&icy;&scy;&acy;&ncy;&icy;&iecy; &bcy;&ycy;&lcy;&ocy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&ocy;, &pcy;&rcy;&ocy;&scy;&mcy;&acy;&tcy;&rcy;&icy;&vcy;&acy;&yacy; &vcy;&rcy;&iecy;&mcy;&yacy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; &fcy;&acy;&jcy;&lcy;&acy;. &Ecy;&tcy;&acy; &ocy;&pcy;&tscy;&icy;&yacy; &ocy;&tcy;&kcy;&lcy;&yucy;&chcy;&acy;&iecy;&tcy; &ecy;&tcy;&ocy;&tcy; &tcy;&iecy;&scy;&tcy;.</span></p> </dd> <dt id="Documentation/git-p4.txt-git-p4allowSubmit"><span data-i18n="e19873d57be4bf19495c9aa68f7d018adf5e65550d5244f2a66a0aa800d2d5eb/48" data-source="git-p4.allowSubmit" onmousemove="i18n(this)">git-p4.allowSubmit</span></dt> <dd> <p><span data-i18n="09003ac7509fd9ad30fc2abf7ff2809055b69694c67ac25eb23dd8512f0a3b5c/7f" data-source="By default, any branch can be used as the source for a &lt;code&gt;git p4 submit&lt;/code&gt; operation. This configuration variable, if set, permits only the named branches to be used as submit sources. Branch names must be the short names (no &amp;quot;refs/heads/&amp;quot;), and should be separated by commas (&amp;quot;,&amp;quot;), with no spaces." onmousemove="i18n(this)">&Pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &lcy;&yucy;&bcy;&acy;&yacy; &vcy;&iecy;&tcy;&vcy;&softcy; &mcy;&ocy;&zhcy;&iecy;&tcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy;&scy;&yacy; &vcy; &kcy;&acy;&chcy;&iecy;&scy;&tcy;&vcy;&iecy; &icy;&scy;&tcy;&ocy;&chcy;&ncy;&icy;&kcy;&acy; &dcy;&lcy;&yacy; &ocy;&pcy;&iecy;&rcy;&acy;&tscy;&icy;&icy;  <code>git p4 submit</code> . &Ecy;&tcy;&acy; &pcy;&iecy;&rcy;&iecy;&mcy;&iecy;&ncy;&ncy;&acy;&yacy; &kcy;&ocy;&ncy;&fcy;&icy;&gcy;&ucy;&rcy;&acy;&tscy;&icy;&icy;, &iecy;&scy;&lcy;&icy; &ocy;&ncy;&acy; &ucy;&scy;&tcy;&acy;&ncy;&ocy;&vcy;&lcy;&iecy;&ncy;&acy;, &pcy;&ocy;&zcy;&vcy;&ocy;&lcy;&yacy;&iecy;&tcy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &vcy; &kcy;&acy;&chcy;&iecy;&scy;&tcy;&vcy;&iecy; &icy;&scy;&tcy;&ocy;&chcy;&ncy;&icy;&kcy;&ocy;&vcy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&kcy;&icy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &icy;&mcy;&iecy;&ncy;&ocy;&vcy;&acy;&ncy;&ncy;&ycy;&iecy; &vcy;&iecy;&tcy;&kcy;&icy;. &Icy;&mcy;&iecy;&ncy;&acy; &vcy;&iecy;&tcy;&vcy;&iecy;&jcy; &dcy;&ocy;&lcy;&zhcy;&ncy;&ycy; &bcy;&ycy;&tcy;&softcy; &kcy;&ocy;&rcy;&ocy;&tcy;&kcy;&icy;&mcy;&icy; &icy;&mcy;&iecy;&ncy;&acy;&mcy;&icy; (&bcy;&iecy;&zcy;  &quot;refs/heads/&quot; ) &icy; &dcy;&ocy;&lcy;&zhcy;&ncy;&ycy; &bcy;&ycy;&tcy;&softcy; &rcy;&acy;&zcy;&dcy;&iecy;&lcy;&iecy;&ncy;&ycy; &zcy;&acy;&pcy;&yacy;&tcy;&ycy;&mcy;&icy; ( &quot;,&quot; ) &bcy;&iecy;&zcy; &pcy;&rcy;&ocy;&bcy;&iecy;&lcy;&ocy;&vcy;.</span></p> </dd> <dt id="Documentation/git-p4.txt-git-p4skipUserNameCheck"><span data-i18n="d1eb5dda9a1c453d155d13d19341d2dea0251ce7014bd42a04a47ddf84f7743f/dd" data-source="git-p4.skipUserNameCheck" onmousemove="i18n(this)">git-p4.skipUserNameCheck</span></dt> <dd> <p><span data-i18n="3e89dd05cbc97de69607b7903ebd6a7f4159555e6fcbfde57af87b732de97e3c/0b" data-source="If the user running &lt;code&gt;git p4 submit&lt;/code&gt; does not exist in the p4 user map, &lt;code&gt;git p4&lt;/code&gt; exits. This option can be used to force submission regardless." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&iecy;&lcy;&softcy;, &vcy;&ycy;&pcy;&ocy;&lcy;&ncy;&yacy;&yucy;&shchcy;&icy;&jcy;  <code>git p4 submit</code> , &ncy;&iecy; &scy;&ucy;&shchcy;&iecy;&scy;&tcy;&vcy;&ucy;&iecy;&tcy; &vcy; &kcy;&acy;&rcy;&tcy;&iecy; &pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&iecy;&lcy;&iecy;&jcy; p4,  <code>git p4</code>  &zcy;&acy;&vcy;&iecy;&rcy;&shcy;&acy;&iecy;&tcy; &rcy;&acy;&bcy;&ocy;&tcy;&ucy;. &Ecy;&tcy;&ucy; &ocy;&pcy;&tscy;&icy;&yucy; &mcy;&ocy;&zhcy;&ncy;&ocy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ocy;&vcy;&acy;&tcy;&softcy; &dcy;&lcy;&yacy; &pcy;&rcy;&icy;&ncy;&ucy;&dcy;&icy;&tcy;&iecy;&lcy;&softcy;&ncy;&ocy;&jcy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&kcy;&icy; &vcy; &lcy;&yucy;&bcy;&ocy;&mcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy;.</span></p> </dd> <dt id="Documentation/git-p4.txt-git-p4attemptRCSCleanup"><span data-i18n="c2c9d181d38fb113d99692e1eefedc741e2b4bee107890afaaad793444f57782/cc" data-source="git-p4.attemptRCSCleanup" onmousemove="i18n(this)">git-p4.attemptRCSCleanup</span></dt> <dd> <p><span data-i18n="dc819f6b7c33f75575ed0c948f5654f7f378670fba4c852d25c8acb7d91f259e/a5" data-source="If enabled, &lt;code&gt;git p4 submit&lt;/code&gt; will attempt to cleanup RCS keywords ($Header$, etc). These would otherwise cause merge conflicts and prevent the submit going ahead. This option should be considered experimental at present." onmousemove="i18n(this)">&IEcy;&scy;&lcy;&icy; &ecy;&tcy;&ocy;&tcy; &pcy;&acy;&rcy;&acy;&mcy;&iecy;&tcy;&rcy; &vcy;&kcy;&lcy;&yucy;&chcy;&iecy;&ncy;,  <code>git p4 submit</code>  &pcy;&ocy;&pcy;&ycy;&tcy;&acy;&iecy;&tcy;&scy;&yacy; &ocy;&chcy;&icy;&scy;&tcy;&icy;&tcy;&softcy; &kcy;&lcy;&yucy;&chcy;&iecy;&vcy;&ycy;&iecy; &scy;&lcy;&ocy;&vcy;&acy; RCS ($Header$ &icy; &tcy;. &dcy;.). &Vcy; &pcy;&rcy;&ocy;&tcy;&icy;&vcy;&ncy;&ocy;&mcy; &scy;&lcy;&ucy;&chcy;&acy;&iecy; &ecy;&tcy;&ocy; &mcy;&ocy;&gcy;&lcy;&ocy; &bcy;&ycy; &vcy;&ycy;&zcy;&vcy;&acy;&tcy;&softcy; &kcy;&ocy;&ncy;&fcy;&lcy;&icy;&kcy;&tcy;&ycy; &scy;&lcy;&icy;&yacy;&ncy;&icy;&yacy; &icy; &pcy;&ocy;&mcy;&iecy;&shcy;&acy;&tcy;&softcy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&kcy;&iecy;. &Vcy; &ncy;&acy;&scy;&tcy;&ocy;&yacy;&shchcy;&iecy;&iecy; &vcy;&rcy;&iecy;&mcy;&yacy; &ecy;&tcy;&ocy;&tcy; &vcy;&acy;&rcy;&icy;&acy;&ncy;&tcy; &scy;&lcy;&iecy;&dcy;&ucy;&iecy;&tcy; &scy;&chcy;&icy;&tcy;&acy;&tcy;&softcy; &ecy;&kcy;&scy;&pcy;&iecy;&rcy;&icy;&mcy;&iecy;&ncy;&tcy;&acy;&lcy;&softcy;&ncy;&ycy;&mcy;.</span></p> </dd> <dt id="Documentation/git-p4.txt-git-p4exportLabels"><span data-i18n="7ab46ab06c3de1d261307b13938ba592cf06866b413a53e13fb1c61365c0c51f/4b" data-source="git-p4.exportLabels" onmousemove="i18n(this)">git-p4.exportLabels</span></dt> <dd> <p><span data-i18n="5cc12185c7e03ce2286352927029e34592b0da70f013473583524f62ccb1e626/1a" data-source="Export Git tags to p4 labels, as per --export-labels." onmousemove="i18n(this)">&Ecy;&kcy;&scy;&pcy;&ocy;&rcy;&tcy;&icy;&rcy;&ucy;&jcy;&tcy;&iecy; &tcy;&iecy;&gcy;&icy;  Git  &vcy; &mcy;&iecy;&tcy;&kcy;&icy; p4 &scy;&ocy;&gcy;&lcy;&acy;&scy;&ncy;&ocy; --export-labels.</span></p> </dd> <dt id="Documentation/git-p4.txt-git-p4labelExportRegexp"><span data-i18n="1bad0b2fd2ae846bb3f318f92973026859dac23d74b8af4839ef44f79c4a6e10/f8" data-source="git-p4.labelExportRegexp" onmousemove="i18n(this)">git-p4.labelExportRegexp</span></dt> <dd> <p><span data-i18n="36c29a53bf75c977b0d8e14f0b9d7645df0c11b8cfa7577c3e93fdd8f689dce3/52" data-source="Only p4 labels matching this regular expression will be exported. The default value is &lt;code&gt;[a-zA-Z0-9_\-.]+$&lt;/code&gt;." onmousemove="i18n(this)">&Bcy;&ucy;&dcy;&ucy;&tcy; &ecy;&kcy;&scy;&pcy;&ocy;&rcy;&tcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ycy; &tcy;&ocy;&lcy;&softcy;&kcy;&ocy; &mcy;&iecy;&tcy;&kcy;&icy; p4, &scy;&ocy;&ocy;&tcy;&vcy;&iecy;&tcy;&scy;&tcy;&vcy;&ucy;&yucy;&shchcy;&icy;&iecy; &ecy;&tcy;&ocy;&mcy;&ucy; &rcy;&iecy;&gcy;&ucy;&lcy;&yacy;&rcy;&ncy;&ocy;&mcy;&ucy; &vcy;&ycy;&rcy;&acy;&zhcy;&iecy;&ncy;&icy;&yucy;. &Zcy;&ncy;&acy;&chcy;&iecy;&ncy;&icy;&iecy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &mdash;  <code>[a-zA-Z0-9_\-.]+$</code> .</span></p> </dd> <dt id="Documentation/git-p4.txt-git-p4conflict"><span data-i18n="dba2be140183db410995f87f76f0e3ebafaac120a9352f855e3362d83ec64a40/5c" data-source="git-p4.conflict" onmousemove="i18n(this)">git-p4.conflict</span></dt> <dd> <p><span data-i18n="cdf2f7aad2346bd58f792cf2d654b9811c2a58f90cd9d774a013a40808deafb3/13" data-source="Specify submit behavior when a conflict with p4 is found, as per --conflict. The default behavior is &lt;code&gt;ask&lt;/code&gt;." onmousemove="i18n(this)">&Ucy;&kcy;&acy;&zhcy;&icy;&tcy;&iecy; &pcy;&ocy;&vcy;&iecy;&dcy;&iecy;&ncy;&icy;&iecy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&kcy;&icy; &pcy;&rcy;&icy; &ocy;&bcy;&ncy;&acy;&rcy;&ucy;&zhcy;&iecy;&ncy;&icy;&icy; &kcy;&ocy;&ncy;&fcy;&lcy;&icy;&kcy;&tcy;&acy; &scy; p4 &scy;&ocy;&gcy;&lcy;&acy;&scy;&ncy;&ocy; --conflict. &Pcy;&ocy;&vcy;&iecy;&dcy;&iecy;&ncy;&icy;&iecy; &pcy;&ocy; &ucy;&mcy;&ocy;&lcy;&chcy;&acy;&ncy;&icy;&yucy; &mdash;  <code>ask</code> .</span></p> </dd> <dt id="Documentation/git-p4.txt-git-p4disableRebase"><span data-i18n="4705c02015072e17399d4954274ea67ec702bb3a29696f44a1e812654e6584e1/38" data-source="git-p4.disableRebase" onmousemove="i18n(this)">git-p4.disableRebase</span></dt> <dd> <p><span data-i18n="25f303f450c96d1a351fa344bcf9f838cb05e9f8a0d26c2afd2ce8d5e68f7a3d/81" data-source="Do not rebase the tree against p4/master following a submit." onmousemove="i18n(this)">&Ncy;&iecy; &pcy;&iecy;&rcy;&iecy;&ucy;&scy;&tcy;&acy;&ncy;&acy;&vcy;&lcy;&icy;&vcy;&acy;&jcy;&tcy;&iecy; &dcy;&iecy;&rcy;&iecy;&vcy;&ocy; &ncy;&acy; p4/master &pcy;&ocy;&scy;&lcy;&iecy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&kcy;&icy;.</span></p> </dd> <dt id="Documentation/git-p4.txt-git-p4disableP4Sync"><span data-i18n="641616b0c585599824cb1cce53b9bfee702abf5bfe9882e6af2c490330a3c8e3/13" data-source="git-p4.disableP4Sync" onmousemove="i18n(this)">git-p4.disableP4Sync</span></dt> <dd> <p><span data-i18n="c76dbe296b5e32529296803a00fe54a6099dd52560b8726bb5aefe9327eb38a0/36" data-source="Do not sync p4/master with Perforce following a submit. Implies git-p4.disableRebase." onmousemove="i18n(this)">&Ncy;&iecy; &scy;&icy;&ncy;&khcy;&rcy;&ocy;&ncy;&icy;&zcy;&icy;&rcy;&ucy;&jcy;&tcy;&iecy; p4/master &scy; Perforce &pcy;&ocy;&scy;&lcy;&iecy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&kcy;&icy;. &Pcy;&ocy;&dcy;&rcy;&acy;&zcy;&ucy;&mcy;&iecy;&vcy;&acy;&iecy;&tcy;&scy;&yacy; git-p4.disableRebase.</span></p> </dd> </dl> </div> </div> </div> <h2 class="text-body-emphasis"  id="_implementation_details"><span data-i18n="370cf2dc684fe3607ba96a026729ede5cfd02d3ce228dc2b16cc4c513d24d450/5a" data-source="Implementation details" onmousemove="i18n(this)">Implementation details</span></h2> <div> <div> <ul> <li> <p><span data-i18n="3245cfbe82bba85eb515ac5917d1bf1af41f189b443166c93a8cd6e43d4562d9/b3" data-source="Changesets from p4 are imported using Git fast-import." onmousemove="i18n(this)">&Ncy;&acy;&bcy;&ocy;&rcy;&ycy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&jcy; &icy;&zcy; p4 &icy;&mcy;&pcy;&ocy;&rcy;&tcy;&icy;&rcy;&ucy;&yucy;&tcy;&scy;&yacy; &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy; &bcy;&ycy;&scy;&tcy;&rcy;&ocy;&gcy;&ocy; &icy;&mcy;&pcy;&ocy;&rcy;&tcy;&acy;  Git .</span></p> </li> <li> <p><span data-i18n="6b15e681e63afca3d6f1ad142cd5e27bd809de37409928d2e29fd3cea5ea4b6f/2d" data-source="Cloning or syncing does not require a p4 client; file contents are collected using &lt;code&gt;p4 print&lt;/code&gt;." onmousemove="i18n(this)">&Dcy;&lcy;&yacy; &kcy;&lcy;&ocy;&ncy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&icy;&yacy; &icy;&lcy;&icy; &scy;&icy;&ncy;&khcy;&rcy;&ocy;&ncy;&icy;&zcy;&acy;&tscy;&icy;&icy; &ncy;&iecy; &tcy;&rcy;&iecy;&bcy;&ucy;&iecy;&tcy;&scy;&yacy; &kcy;&lcy;&icy;&iecy;&ncy;&tcy; p4; &Scy;&ocy;&dcy;&iecy;&rcy;&zhcy;&icy;&mcy;&ocy;&iecy; &fcy;&acy;&jcy;&lcy;&acy; &scy;&ocy;&bcy;&icy;&rcy;&acy;&iecy;&tcy;&scy;&yacy; &scy; &pcy;&ocy;&mcy;&ocy;&shchcy;&softcy;&yucy;  <code>p4 print</code> .</span></p> </li> <li> <p><span data-i18n="11972972984fa55226b3aa148bca11c2b4101cd99f07a01566458409d3dabea5/8c" data-source="Submitting requires a p4 client, which is not in the same location as the Git repository. Patches are applied, one at a time, to this p4 client and submitted from there." onmousemove="i18n(this)">&Dcy;&lcy;&yacy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&kcy;&icy; &tcy;&rcy;&iecy;&bcy;&ucy;&iecy;&tcy;&scy;&yacy; &kcy;&lcy;&icy;&iecy;&ncy;&tcy; p4, &kcy;&ocy;&tcy;&ocy;&rcy;&ycy;&jcy; &ncy;&iecy; &ncy;&acy;&khcy;&ocy;&dcy;&icy;&tcy;&scy;&yacy; &vcy; &tcy;&ocy;&mcy; &zhcy;&iecy; &mcy;&iecy;&scy;&tcy;&iecy;, &chcy;&tcy;&ocy; &icy; &rcy;&iecy;&pcy;&ocy;&zcy;&icy;&tcy;&ocy;&rcy;&icy;&jcy;  Git . &Icy;&scy;&pcy;&rcy;&acy;&vcy;&lcy;&iecy;&ncy;&icy;&yacy; &pcy;&rcy;&icy;&mcy;&iecy;&ncy;&yacy;&yucy;&tcy;&scy;&yacy; &pcy;&ocy; &ocy;&dcy;&ncy;&ocy;&mcy;&ucy; &kcy; &ecy;&tcy;&ocy;&mcy;&ucy; &kcy;&lcy;&icy;&iecy;&ncy;&tcy;&ucy; p4 &icy; &ocy;&tcy;&pcy;&rcy;&acy;&vcy;&lcy;&yacy;&yucy;&tcy;&scy;&yacy; &ocy;&tcy;&tcy;&ucy;&dcy;&acy;.</span></p> </li> <li> <p><span data-i18n="f608f8e602c7e95c59771c33f5cbf6ac91edd545374c976488563bcb5d15c2b2/6a" data-source="Each commit imported by &lt;code&gt;git p4&lt;/code&gt; has a line at the end of the log message indicating the p4 depot location and change number. This line is used by later &lt;code&gt;git p4 sync&lt;/code&gt; operations to know which p4 changes are new." onmousemove="i18n(this)">&Kcy;&acy;&zhcy;&dcy;&ycy;&jcy; &kcy;&ocy;&mcy;&mcy;&icy;&tcy;, &icy;&mcy;&pcy;&ocy;&rcy;&tcy;&icy;&rcy;&ocy;&vcy;&acy;&ncy;&ncy;&ycy;&jcy;  <code>git p4</code> , &icy;&mcy;&iecy;&iecy;&tcy; &scy;&tcy;&rcy;&ocy;&kcy;&ucy; &vcy; &kcy;&ocy;&ncy;&tscy;&iecy; &scy;&ocy;&ocy;&bcy;&shchcy;&iecy;&ncy;&icy;&yacy; &zhcy;&ucy;&rcy;&ncy;&acy;&lcy;&acy;, &ucy;&kcy;&acy;&zcy;&ycy;&vcy;&acy;&yucy;&shchcy;&ucy;&yucy; &mcy;&iecy;&scy;&tcy;&ocy;&pcy;&ocy;&lcy;&ocy;&zhcy;&iecy;&ncy;&icy;&iecy; &khcy;&rcy;&acy;&ncy;&icy;&lcy;&icy;&shchcy;&acy; p4 &icy; &ncy;&ocy;&mcy;&iecy;&rcy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy;. &Ecy;&tcy;&acy; &scy;&tcy;&rcy;&ocy;&kcy;&acy; &icy;&scy;&pcy;&ocy;&lcy;&softcy;&zcy;&ucy;&iecy;&tcy;&scy;&yacy; &pcy;&ocy;&scy;&lcy;&iecy;&dcy;&ucy;&yucy;&shchcy;&icy;&mcy;&icy; &ocy;&pcy;&iecy;&rcy;&acy;&tscy;&icy;&yacy;&mcy;&icy;  <code>git p4 sync</code> , &chcy;&tcy;&ocy;&bcy;&ycy; &ucy;&zcy;&ncy;&acy;&tcy;&softcy;, &kcy;&acy;&kcy;&icy;&iecy; &icy;&zcy;&mcy;&iecy;&ncy;&iecy;&ncy;&icy;&yacy; p4 &yacy;&vcy;&lcy;&yacy;&yucy;&tcy;&scy;&yacy; &ncy;&ocy;&vcy;&ycy;&mcy;&icy;.</span></p> </li> </ul> </div> </div><address>
<p>
    &copy; 2012&ndash;2024 Scott Chacon and others<br/>Licensed under the MIT License.<br/>
<a href="https://git-scm.com/docs/git-p4">https://git-scm.com/docs/git-p4</a>
</p>
</address>                </article>
            </main>

            <br>
            <br>
            <hr>

                               <ins class="adsbygoogle"
        style="display:block"
        data-ad-format="autorelaxed"
        data-ad-client="ca-pub-6424571640879890"
        data-ad-slot="7867651344"></ins>
   <script data-cfasync="false" src="../../../cdn-cgi/scripts/5c5dd728/cloudflare-static/email-decode.min.js"></script><script>
        (adsbygoogle = window.adsbygoogle || []).push({});
   </script>            
        </div>

        <!-- -->

        <div class="col-md-3">
            <br>
            <form action="-index-.html">
                <div class="input-group">
                    <input class="form-control" type="search" name="q" placeholder="Search for Git" required>
                    <button class="btn btn-primary" type="submit">
                        <i class="bi bi-search"></i>
                    </button>
                </div>
            </form>
            <br>

                            <div class="list-group list-group-flush">
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-pack-objects.html">
                            git pack-objects                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-pack-redundant.html">
                            git pack-redundant                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-pack-refs.html">
                            git pack-refs                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-patch-id.html">
                            git patch-id                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-prune.html">
                            git prune                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-prune-packed.html">
                            git prune-packed                        </a>
                                            <a class="list-group-item list-group-item-action text-primary-emphasis px-2 text-truncate" href="git-pull.html">
                            git pull                        </a>
                                    </div>
            
            <br>
            <div class="my-3">
                <ins class="adsbygoogle"
     style="display:block"
     data-ad-client="ca-pub-6424571640879890"
     data-ad-slot="3954319254"
     data-ad-format="auto"
     data-full-width-responsive="true"></ins>
<script>
     (adsbygoogle = window.adsbygoogle || []).push({});
</script>            </div>
            <br>

            
            
        </div>
    </div>
</div>    <!--/sse-->

    <footer>
        <br>
        <div class="container">
            <div class="row">
                <div class="col">
                    <hr>
                    <div class="row">
                        <div class="col-md-10">
                            <ul class="nav">
                                <li class="nav-item">
                                    <a class="nav-link ps-0" href="https://runebook.dev/">Help us Improve Translation</a>
                                </li>
                                                            </ul>
                        </div>
                        <div class="col-md-2 text-end">
                            <a href="git-p4.html#" class="fs-5" aria-label="Top">
                                <i class="bi bi-arrow-up-square-fill"></i>
                            </a>
                        </div>
                    </div>
                </div>
            </div>
        </div>
        <br>
    </footer>
    <script src="../../../runebook.js"></script>
</body>

</html>